Dot Net Mafia

Group site for developer blogs dealing with (usually) Ionic, .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 Ionic, SharePoint, and Office 365.

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

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