Chapter 15. ASP.NET E-Mail Control

In this chapter

Creating E-Mail Messages

Using the MailMessage Object

Adding E-Mail Attachments

Setting the E-Mail Format

Setting E-Mail Priority

Setting E-Mail Encodings for the E-Mail Body and Attachments

ASP.NET introduces a new e-mail object called SmtpMail that replaces the former CDONTS object available with Microsoft Internet Information Server 4. SmtpMail is similar to the CDONTS object, providing basic e-mail functions with attachment capability for IIS 5. SmtpMail and all its associated objects are accessible through the System.Web.Mail namespace. The new object was created from the ground up to take advantage of the .NET Framework. As a result, it will function more efficiently and with less effort than ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.