Add a new post

Protected by Clearscreen.SharpHIPTo prevent abuse from bots, please enter the text you see.:

* In order to reduce SPAM, all email addresses will be obfuscated so they cannot be read by spam bots.
For example: '' will become 'test (at) test dot com'.

Quickstart Programming Samples
This System.Web.Mail QuickStart is a series of samples and supporting commentary designed to quickly acquaint developers with the syntax of sending email in .NET. The QuickStart samples are designed to be short, easy-to-understand illustrations of System.Web.Mail.

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.