SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587); MailMessage mm = new MailMessage("musafirbalti@gmail.com", "musafirbalti@gmail.com"); mm.Subject = "abc"; mm.Body = "ansdjfskhfsa d fjk h sjh sdhf hskd"; smtp.Credentials = new System.Net.NetworkCredential("mymail@gmail.com", "mypasword"); smtp.EnableSsl = true; smtp.Send(mm); TextBox1.Text = "the email is been sended to the reciver";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)