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