The EmailMessage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
EmailMessage()()()() |
Constructs an
![]() EmailMessage |
![]() |
EmailMessage(array<Byte>[]()[][]) |
Constructs an
![]() EmailMessage |
![]() |
EmailMessage(String, String) |
Constructs an
![]() EmailMessage |
![]() |
EmailMessage(String, String, String, String) |
Constructs an
![]() EmailMessage |
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.) |
Fields
Name | Description | |
---|---|---|
![]() |
changed |
Tracks whether this MimeMessage has changed.
(Inherited from MimeMessage.) |
![]() |
characterEncoding |
The character encoding used in this MimeMessage.
(Inherited from MimeMessage.) |
![]() |
contentType |
The content type used in this MimeMessage.
(Inherited from MimeMessage.) |
![]() |
definedBody |
The message body as defined using the setBody method.
(Inherited from MimeMessage.) |
![]() |
headerIndex |
Tracks all MIME headers
(Inherited from MimeMessage.) |
![]() |
headers |
The set of MimeHeader for this MimeMessage.
(Inherited from MimeMessage.) |
![]() |
message |
The message contents as provided in the MimeMessage constructor.
(Inherited from MimeMessage.) |
![]() |
messageBody |
The message body as parsed in the MimeMessage constructor.
(Inherited from MimeMessage.) |
![]() |
parts |
The MIME parts for this MimeMessage.
(Inherited from MimeMessage.) |
Properties
Name | Description | |
---|---|---|
![]() |
Bcc |
Gets/Sets the Bcc header address.
|
![]() |
Cc |
Gets/Sets the Cc header address.
|
![]() |
ContentType |
Gets/Sets the Content-Type. (Inherited from MimeMessage.) |
![]() |
From |
Gets/Sets the From header address.
|
![]() |
Message |
Gets/Sets the message. (Inherited from MimeMessage.) |
![]() |
Priority |
Gets/Sets the priority header.
|
![]() |
ReplyTo |
Gets/Sets the ReplyTo header address.
|
![]() |
Subject |
Gets/Sets the header Subject.
|
![]() |
To |
Gets/Sets the To header address.
|