Redigera

Dela via


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.

Classes

MailAttachment

Provides properties and methods for constructing an email attachment. Recommended alternative: System.Net.Mail.

MailMessage

Provides properties and methods for constructing an email 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.

Enums

MailEncoding

Provides enumerated values for email encoding. Recommended alternative: System.Net.Mail.

MailFormat

Provides enumerated values for email format. Recommended alternative: System.Net.Mail.

MailPriority

Specifies the priority level for the email message. Recommended alternative: System.Net.Mail.