I found a nice article about how to send emails using System.Net.Mail on asp.net forums. Have a look at asp.net forum