The EmailMessage type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AddAttachment |
Adds an attachment to a message.
|
![]() |
AddHeader(MimeHeader) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddHeader(String, String) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddPart |
Adds part to multipart (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddReplaceHeader(MimeHeader) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
AddReplaceHeader(String, String) |
Adds MIME header to this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
Equals | (Inherited from Object.) |
![]() |
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.) |
![]() |
GetAttachments |
Gets an enumeration of message attachments.
|
![]() |
GetBody |
Gets the body of the message.
|
![]() |
GetBodyData |
Gets decoded message body as bytes. (Inherited from MimeMessage.) |
![]() |
GetBoundary |
Gets boundary used in this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetBoundaryWithoutQuotes |
Gets boundary used in this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetContentTransferEncoding |
Gets the value of the Content-Transfer-Encoding
header for this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetContentType |
Gets Content-Type header of email message.
|
![]() |
GetDate()()()() |
Gets the message date.
|
![]() |
GetDate(CultureInfo) |
Gets the message date.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetHeader |
Returns named header specified by (Inherited from MimeMessage.)![]() name |
![]() |
GetHeaders()()()() |
Gets all mime headers for this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetHeaders(String) |
Gets all MIME headers for this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetHeaderValue |
Gets value for header specified by (Inherited from MimeMessage.)![]() name |
![]() |
GetMessage |
Gets contents of this
![]() EmailMessage |
![]() |
GetPart |
Gets specified part from this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetParts |
Gets parts of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
GetRawBodyData |
Gets message body as bytes. The body will be returned as is.
(Inherited from MimeMessage.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
RemoveHeader |
Removes specified header from this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
RemovePart |
Removes specified (Inherited from MimeMessage.)![]() index |
![]() |
RemoveParts |
Removes all parts from array.
(Inherited from MimeMessage.) |
![]() |
SetBcc |
Sets the Bcc address using the specified character encoding.
|
![]() |
SetBody(array<Byte>[]()[][]) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetBody(FileStream) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetBody(String) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetBody(String, String) |
Sets body of this (Inherited from MimeMessage.)![]() MimeMessage |
![]() |
SetCc |
Sets the Cc address using the specified character encoding.
|
![]() |
SetContentType(String) |
Sets Content-Type header of the email message.
|
![]() |
SetContentType(String, String) |
Sets Content-Type header of the email message.
|
![]() |
SetFrom |
Sets the From address using the specified character encoding.
|
![]() |
SetReplyTo |
Sets the ReplyTo address.
|
![]() |
SetSubject |
Sets the Subject of the message using the specified character encoding.
|
![]() |
SetTo |
Sets the To address using the specified character encoding.
|
![]() |
ToString | (Inherited from Object.) |