Send E-mail in ASP.NET

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: ASP.NET

More information:
This aspx page shows you how to send e-mails from ASP.NET. It illustrates many of the ways ASP.NET differs from ASP, such as the ability to send messages via the machine's SMTP server without an intermediary object such as CDONTS, the use of server side input boxes that stream the correct HTML to the client, and the use of built-in ASP.NET objects for the purpose of form validation.

Originally developed for beta versions; updated for .NET Version 1.0, 04/02/02.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download asp_netemail.zip