Export (0) Print
Expand All
0 out of 3 rated this helpful - Rate this topic

MailMessage Members

Provides properties and methods for constructing an e-mail message. Recommended alternative: System.Net.Mail.

The following tables list the members exposed by the MailMessage type.

  Name Description
Public method MailMessage Initializes a new instance of the MailMessage class. Recommended alternative: System.Net.Mail.
Top
  Name Description
Public property Attachments Specifies the collection of attachments that are transmitted with the message. Recommended alternative: System.Net.Mail.
Public property 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.
Public property Body Gets or sets the body of the e-mail message. Recommended alternative: System.Net.Mail.
Public property BodyEncoding Gets or sets the encoding type of the body of the e-mail message. Recommended alternative: System.Net.Mail.
Public property BodyFormat Gets or sets the content type of the body of the e-mail message. Recommended alternative: System.Net.Mail.
Public property 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.
Public property Fields Gets a collection of objects that map to Microsoft Collaboration Data Objects (CDO) fields. Recommended alternative: System.Net.Mail.
Public property From Gets or sets the e-mail address of the sender. Recommended alternative: System.Net.Mail.
Public property Headers Specifies the custom headers that are transmitted with the e-mail message. Recommended alternative: System.Net.Mail.
Public property Priority Gets or sets the priority of the e-mail message. Recommended alternative: System.Net.Mail.
Public property Subject Gets or sets the subject line of the e-mail message. Recommended alternative: System.Net.Mail.
Public property To Gets or sets a semicolon-delimited list of recipient e-mail addresses. Recommended alternative: System.Net.Mail.
Public property 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.
Public property UrlContentLocation Gets or sets the Content-Location HTTP header for the e-mail message. Recommended alternative: System.Net.Mail.
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.