This documentation is archived and is not being maintained.
MailMessage Members
Visual Studio 2008
Represents an e-mail message that can be sent using the SmtpClient class.
The MailMessage type exposes the following members.
| Name | Description | |
|---|---|---|
|
Dispose | Overloaded. Releases the resources used by the MailMessage. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| 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. |
|
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 | Gets or sets the ReplyTo address 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: