This documentation is archived and is not being maintained.
MailMessage Members
Visual Studio 2008
Provides properties and methods for constructing an e-mail message. Recommended alternative: System.Net.Mail.
The MailMessage type exposes the following members.
| Name | Description | |
|---|---|---|
|
MailMessage | Initializes a new instance of the MailMessage class. Recommended alternative: System.Net.Mail. |
| Name | Description | |
|---|---|---|
|
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 | |
|---|---|---|
|
Attachments | Specifies the collection of attachments that are transmitted with the message. Recommended alternative: System.Net.Mail. |
|
Bcc | 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. |
|
Body | Gets or sets the body of the e-mail message. Recommended alternative: System.Net.Mail. |
|
BodyEncoding | Gets or sets the encoding type of the body of the e-mail message. Recommended alternative: System.Net.Mail. |
|
BodyFormat | Gets or sets the content type of the body of the e-mail message. Recommended alternative: System.Net.Mail. |
|
Cc | 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. |
|
Fields | Gets a collection of objects that map to Microsoft Collaboration Data Objects (CDO) fields. Recommended alternative: System.Net.Mail. |
|
From | Gets or sets the e-mail address of the sender. Recommended alternative: System.Net.Mail. |
|
Headers | Specifies the custom headers that are transmitted with the e-mail message. Recommended alternative: System.Net.Mail. |
|
Priority | Gets or sets the priority of the e-mail message. Recommended alternative: System.Net.Mail. |
|
Subject | Gets or sets the subject line of the e-mail message. Recommended alternative: System.Net.Mail. |
|
To | Gets or sets a semicolon-delimited list of recipient e-mail addresses. Recommended alternative: System.Net.Mail. |
|
UrlContentBase | 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. |
|
UrlContentLocation | Gets or sets the Content-Location HTTP header for the e-mail message. Recommended alternative: System.Net.Mail. |
Show: