It seems every Web application needs to send e-mail sooner or later. Whether your site is sending a confirmation e-mail or the dreaded spam (not that you would do that, of course), sending e-mail is a vital function of most Web sites.
Although sending e-mail programmatically was never terribly difficult, tackling the task is amazingly simple using the .NET Framework. With the objects provided by the System.Web.Mail namespace, one can send mail, add attachments, and set email format and priority.
Click here to read the article.