This documentation is archived and is not being maintained.

System.Web.Mail Namespace

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.

Namespace hierarchy


Class Description
MailAttachment Provides properties and methods for constructing an e-mail attachment.
MailMessage Provides properties and methods for constructing an e-mail message.
SmtpMail Provides properties and methods for sending messages using the Collaboration Data Objects for Windows 2000 (CDOSYS) message component.


Enumeration Description
MailEncoding Provides enumered values for e-mail encoding.
MailFormat Provides enumerated values for e-mail format.
MailPriority Specifies the priority level for the e-mail message.

See Also

.NET Framework Class Library