Sending mail with System.Net.Mail

Posted Monday, December 12, 2005 10:56 AM by C-Dog's .NET Tip of the Day
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 http://www.dotnettipoftheday.com/blog.aspx?id=6