<<Back To Faq 3

Complete FAQ Listing

3 Advanced Programming Samples Printer Friendly   Email This FAQ   Discuss

This System.Web.Mail Advanced Samples is a series of code samples and supporting commentary designed perform advanced email operations. Some of the topics discussed here cannot be achieved using System.Web.Mail, but are listed for completeness, and because I have seen these questions asked on various newsgroups and lists.

Important: When testing these samples, always be sure to:
1. Have a reference set to the System.Web.dll.
2. If you are using C#, be sure the "using System.Web.Mail;" statement is found at the top of your code. Or, if you are using VB.NET, be sure the "Imports System.Web.Mail" statement if found at the top of your code.
3. Set the correct FROM and TO addresses.
4. Set the SmtpMail.SmtpServer to a valid server that allows relaying for your FROM email address or the IP address you are sending email from.

The formatted version of this faq can be found at http://www.SystemWebMail.com/faq/3.aspx