MailMessage m = new MailMessage(); m.From = new MailAddress("ir@w3mentor.com", "Raja Item"); m.To.Add(new MailAddress("su@w3mentor.com", "Sekaran Uma")); m.Subject = "html email coming!"; //Specify an HTML message body m.Body = "

Welcome


This is an HTML message for sharejs.com." m.IsBodyHtml = True // Send the message SmtpClient client = new SmtpClient("smtp.w3mentor.com"); client.Send(m); //csharp/7758