System.Web.Mail Namespace

The classes in this namespace have been deprecated. Use the System.Net.Mail namespace instead. The System.Web.Mail namespace contains classes that enable you to construct and send messages using the CDOSYS (Collaboration Data Objects for Windows 2000) message component. The mail message is delivered either through the SMTP mail service built into Microsoft Windows 2000 or through an arbitrary SMTP server. The classes in this namespace can be used from ASP.NET or from any managed application.

Remarks

Classes

TypeReason
MailAttachment

Provides properties and methods for constructing an e-mail attachment. Recommended alternative: System.Net.Mail.

MailEncoding

Provides enumerated values for e-mail encoding. Recommended alternative: System.Net.Mail.

MailFormat

Provides enumerated values for e-mail format. Recommended alternative: System.Net.Mail.

MailMessage

Provides properties and methods for constructing an e-mail message. Recommended alternative: System.Net.Mail.

MailPriority

Specifies the priority level for the e-mail message. Recommended alternative: System.Net.Mail.

SmtpMail

Provides properties and methods for sending messages using the Collaboration Data Objects for Windows 2000 (CDOSYS) message component. Recommended alternative: System.Net.Mail.