Free video course: Architecting Distributed Cloud Applications

Learn how to architect distributed cloud applications with the correct developer mindset using the right technologies and the best cloud patterns. This technology-agnostic course begins by explaining the benefits of distributed cloud applications with an emphasis on maintaining high-availability and scalability in a cost-effective way, while also dealing with inevitable hardware and software failures.

More Info here.

Send an Office365 SMTP mail in .NET/C#

Sending a mail using Office365 is no big deal. It is just similar to how you send a mail via any SMTP server. But you will have to mind the SMTP host, port number and remember to enable SSL in the code. Here goes the code snippet:

using (MailMessage message = new MailMessage())
    message.From = new MailAddress("");
    message.Subject = "test mail";
    message.Body = "


"; message.IsBodyHtml = true; SmtpClient client = new SmtpClient("", 587); client.Credentials = new NetworkCredential("", "passwordhere"); client.EnableSsl = true; client.Send(message); }