In this chapter
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 CDONTS did with IIS 4 and classic ASP. These objects and enumerations are described in Table 15.1 and are discussed in the following sections.
Table 15.1. The System.Web.Mail Objects and Enumerations