Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint, Office 365, Mobile Development, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog



Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, Office 365 / SharePoint Online and Visual Studio 2013.

Sending mail with System.Net.Mail

I mentioned a while back that the existing SmtpMail object in System.Web had been rendered obsolete.  If you are writing some new code and wish to send mail, use System.Net.Mail instead.  This code snippet from Scott will show you how to do it.

Read the complete post at

2015 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems