Send SMTP email using System.Net.Mail via Exchange Online (Office 365)
http://stackoverflow.com/questions/6244694/send-smtp-email-using-system-net-mail-via-exchange-online-office-365 MailMessage msg = new MailMessage(); msg.To.Add(new MailAddress("someone@somedomain.com", "SomeOne")); msg.From = new MailAddress("you@yourdomain.com", "You"); msg.Subject = "This is a Test Mail"; msg.Body = "This is a test message using Exchange…