Working with System.Web.Mail namespace…

Working with System.Web.Mail namespace…

We use System.Web.Mail namespace to send emails from our .NET Applications. It uses two main classes called MailMessage and SmtpServer. The latter having a single static property to indicate the email server (smtp host) to use and a public method taking an instance of MailMessage carrying the mail to be delivered.

Internally it is supposed to be a wrapper on the CDO Object and lot of P/Invoke stuff being builtin, the exception stack too can be significantly larger. Quite interestingly, there is one website called which I would like to share with the readers which discusses at length, System.Web.Mail namespace, FAQ etc.

/* Migrated from Daffodilnet Express — posted on 11th December 2005 */

One thought on “Working with System.Web.Mail namespace…”

Leave a Reply

Your email address will not be published. Required fields are marked *