System.Web.Mail.MailMessage: Property Members

The properties of System.Web.Mail.MailMessage are listed below. For a list of all members, see the MailMessage Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
AttachmentsIList.

Specifies the collection of attachments that are transmitted with the message. Recommended alternative: System.Net.Mail.

Bccstring.

Gets or sets a semicolon-delimited list of email addresses that receive a blind carbon copy (BCC) of the e-mail message. Recommended alternative: System.Net.Mail.

Bodystring.

Gets or sets the body of the e-mail message. Recommended alternative: System.Net.Mail.

BodyEncodingSystem.Text.Encoding.

Gets or sets the encoding type of the body of the e-mail message. Recommended alternative: System.Net.Mail.

BodyFormatMailFormat.

Gets or sets the content type of the body of the e-mail message. Recommended alternative: System.Net.Mail.

Ccstring.

Gets or sets a semicolon-delimited list of e-mail addresses that receive a carbon copy (CC) of the e-mail message. Recommended alternative: System.Net.Mail.

[read-only]
FieldsIDictionary.

Gets a collection of objects that map to Microsoft Collaboration Data Objects (CDO) fields. Recommended alternative: System.Net.Mail.

Fromstring.

Gets or sets the e-mail address of the sender. Recommended alternative: System.Net.Mail.

[read-only]
HeadersIDictionary.

Specifies the custom headers that are transmitted with the e-mail message. Recommended alternative: System.Net.Mail.

PriorityMailPriority.

Gets or sets the priority of the e-mail message. Recommended alternative: System.Net.Mail.

Subjectstring.

Gets or sets the subject line of the e-mail message. Recommended alternative: System.Net.Mail.

Tostring.

Gets or sets a semicolon-delimited list of recipient e-mail addresses. Recommended alternative: System.Net.Mail.

UrlContentBasestring.

Gets or sets the Content-Base HTTP header, the URL base of all relative URLs used within the HTML-encoded body of the e-mail message. Recommended alternative: System.Net.Mail.

UrlContentLocationstring.

Gets or sets the Content-Location HTTP header for the e-mail message. Recommended alternative: System.Net.Mail.