The EmailMessage type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| EmailMessage | 
            Initializes a new instance of the EmailMessage class.
              | |
| EmailMessage(MailMessage) | 
            Initializes a new instance of the EmailMessage class form the specified message.
              | 
Methods
| Name | Description | |
|---|---|---|
|  (Inherited from  | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from  | ||
Serves as a hash function for a particular type.   (Inherited from  | ||
| GetHeaderFields(NameValueCollection) | 
            Gets email header fields joined into a single string.
              | |
| GetHeaderFields(String) | 
            Gets individual email header fields from header text.
              | |
Gets the   (Inherited from  | ||
Creates a shallow copy of the current   (Inherited from  | ||
| ToMailMessage | ||
Returns a string that represents the current object.  (Inherited from  | 
Extension Methods
| Name | Description | |
|---|---|---|
| AsValue | 
            Converts object to a query value which can be used as a query parameter
              (Defined by QueryExtensions.) | |
| GetAPIString | 
            Gets the string by the specified resource key
              (Defined by CoreExtensions.) | |
| GetString | 
            Gets the string by the specified resource key
              (Defined by CoreExtensions.) | |
| ToBoolean | 
            Returns the boolean representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToDateTime | 
            Returns the DateTime representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToDouble | 
            Returns the double representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToGuid | 
            Returns the Guid representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToInteger | 
            Returns the integer representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToString | 
            Returns the string representation of an object or default value if not.
              (Defined by CoreExtensions.) | 
Properties
| Name | Description | |
|---|---|---|
| Attachments | 
            Gets the collection of e-mail attachments.
              | |
| BccRecipients | 
            Gets or sets the BccRecipients.
              | |
| Body | 
            Gets or sets the Body.
              | |
| CcRecipients | 
            Gets or sets the CcRecipients.
              | |
| EmailFormat | 
            Gets or sets the e-mail format.
              | |
| From | 
            Gets or sets the From address.       
              | |
| Headers | 
            Gets the collection of extra e-mail header fields (apart from the standard set).
              | |
| PlainTextBody | 
            Gets or sets plain text body.
              | |
| Priority | 
            Gets or sets e-mail priority.
              | |
| Recipients | 
            Gets or sets the Recipients.
              | |
| ReplyTo | 
            Gets or sets the ReplyTo address.
              | |
| Subject | 
            Gets or sets the Subject.
              | 
See Also