ASP.NET allows us to send email from the programming.
using System.Net.Mail;
The above namespace having the feature to send email. Include that namespace to coding.
public void SendEmail()
{
SmtpClient smtp = new SmtpClient();
MailMessage mail = new MailMessage();
mail.To.Add(“ToMailID@mail.com”);
mail.From = new MailAddress(“FromMailID@mail.com”);
mail.Subject = “Subject Here”;
mail.Body = “Message Here”;
smtp.Host = “smtp.mail.com”;
smtp.Credentials = new System.Net.NetworkCredential(“FromId@mail.com”,”Password”);
smtp.EnableSsl = true;
smtp.Send(mail);
}
By the above way we can send email..
Good Luck……………