I tried to post my source code but it's all on the same line, etc. Hard to read. Download my Form1.cs source here: (.txt file) http://www.mediafire.com/file/88hamalqmeq592o/Form1.txt
Send an email with SMTP
I'm making an email spoofer. I am currently using the gmail smtp server with my credentials, but it sends from my gmail email. How can I make it so that it sends from the email the user inputted in the form? Or if anyone knows any tutorials that would be great as well.

Tanmay SarkarRank #1,407 · 1.2K reputationPosted Aug 31, 2010, 4:02 AM EDT
If you know others' port no then you can send email from that.
Here I say that if you use port no 25 for yahoo, then the mail may be not send. Because, I read from few articles that yahoo support it only for his paid customer.
May be you only send email from your app using Gmail.
I think it will help you!
Thank you!
If it help you, then mark it as answer.
Hiren SoniRank #694 · 3.5K reputationPosted Aug 31, 2010, 4:35 AM EDT
I think that it's not possible.
MailMessage msgMail = new MailMessage("[email protected]", recer, subject, mail);
Here if you write any email id in sender email id, it will take email id of
credintials , which you jave specified
SmtpClient smtp = new SmtpClient("smtp.gmail.com",
smtp.Credentials = new System.Net.NetworkCredential("hiren", passWord);
here if I take username is hiren, then it will send as myemail id , not [email protected]