This documentation is archived and is not being maintained.
MailMessage Properties
Visual Studio 2010
The MailMessage type exposes the following members.
| Name | Description | |
|---|---|---|
|
AlternateViews | Gets the attachment collection used to store alternate forms of the message body. |
|
Attachments | Gets the attachment collection used to store data attached to this e-mail message. |
|
Bcc | Gets the address collection that contains the blind carbon copy (BCC) recipients for this e-mail message. |
|
Body | Gets or sets the message body. |
|
BodyEncoding | Gets or sets the encoding used to encode the message body. |
|
CC | Gets the address collection that contains the carbon copy (CC) recipients for this e-mail message. |
|
DeliveryNotificationOptions | Gets or sets the delivery notifications for this e-mail message. |
|
From | Gets or sets the from address for this e-mail message. |
|
Headers | Gets the e-mail headers that are transmitted with this e-mail message. |
|
HeadersEncoding | Gets or sets the encoding used for the user-defined custom headers for this e-mail message. |
|
IsBodyHtml | Gets or sets a value indicating whether the mail message body is in Html. |
|
Priority | Gets or sets the priority of this e-mail message. |
|
ReplyTo | Obsolete. Gets or sets the ReplyTo address for the mail message. |
|
ReplyToList | Gets or sets the list of addresses to reply to for the mail message. |
|
Sender | Gets or sets the sender's address for this e-mail message. |
|
Subject | Gets or sets the subject line for this e-mail message. |
|
SubjectEncoding | Gets or sets the encoding used for the subject content for this e-mail message. |
|
To | Gets the address collection that contains the recipients of this e-mail message. |
Show: