how can i send mail c#
How can i send mail in c# application
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
GokulPosted Jun 11, 2016, 2:28 AM
using System; using System.Windows.Forms;using System.Net.Mail; //add names space{{{{{SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");mail.From = new MailAddress("[email protected]");mail.To.Add("to_address");SmtpServer.Credentials = new System.Net.NetworkCredential("username//yourmail", "password//yourpassword");MessageBox.Show("mail Send");{Ananth GPosted Oct 21, 2016, 5:40 AM
Rajeesh MenothPosted Jun 11, 2016, 2:40 AM