The IMail type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Appointments |
Gets the list of all appointments in this email message.
| |
| Attachments |
Gets the list of all attachments in this email message.
It contains Attachment and Inline attachments.
| |
| Bcc |
Gets the addresses of others who are to receive this email message ('BCC', Blind Carbon Copy header), even tough the content of the message may not be directed at them.
In this collection you can find MailBox which represents single mailbox, or MailGroup which represents group of email addresses.
This collection can be modified. May be empty.
Bcc header is not rendered when RenderEml()()()() is used.
| |
| Cc |
Gets the addresses of others who are to receive this email message ('CC', Carbon Copy header), even tough the content of the message may not be directed at them.
In this collection you can find MailBox which represent single mailbox, or MailGroup which represents group of email addresses.
This collection can be modified. May be empty.
| |
| Date |
Gets or sets the send date of this email message ('Date' header).
May be null in case of parsing error.
| |
| DKIMSignatureInfo |
Gets DKIM signature information.
| |
| Document |
Gets the entire MimeDocument object associated with this email message.
| |
| From |
Gets the author(s) of this email message ('From' header).
This collection can be modified. If it's empty, email message is NOT RFC 2822 compliant.
| |
| Headers |
MIME headers collection for root MIME entity. Keys are always in lower case.
| |
| Html |
Gets HTML version of this email message.
You can use GetTextFromHtml()()()() method to extract plain text from HTML content.
You can also use GetBodyAsText()()()() or GetBodyAsHtml()()()() to obtain body in a specific format.
| |
| HtmlData |
Gets the object representing 'text/html' body of this email message. May be null if no HTML data is present.
You may use Html as a shortcut to retrieve HTML data.
| |
| HtmlDataString | Obsolete.
Gets HTML data of this email message. You can use GetTextFromHtml()()()() method to extract plain text from HTML content.
| |
| Importance |
Gets or sets the importance of this email message ('Importance' header).
Consider using GetGenericPriority()()()() as it also checks Priority and XPriority properties.
| |
| InReplyTo |
Gets or sets the id of the parent email message ('In-Reply-To' header). Does not contain surrounding brackets (< and >).
| |
| IsDKIMSigned |
Indicates if this email message has been DKIM (DomainKeys Identified Mail) signed.
| |
| IsEncrypted |
Indicates if this email message has been encrypted.
| |
| IsHtml |
Returns true if body of this email message is specified in HTML format. You can use Html property to access HTML version of the body.
| |
| IsSigned |
Indicates if this email message has been signed.
| |
| IsText |
Returns true if body of this email message is specified in plain text format. You can use Text property to access plain text version of the body.
| |
| ListArchive |
Gets URL list of mailing list archive ('List-Archive' header). This collection can be modified. May be empty.
| |
| ListHelp |
Gets URL list for mailing list information ('List-Help' header). This collection can be modified. May be empty.
| |
| ListId |
Gets or sets mailing list identifier ('List-Id' header).May be null.
| |
| ListOwner |
Gets URL list for mailing list owner's mailbox ('List-Owner' header). This collection can be modified. May be empty.
| |
| ListPost |
Gets URL list for mailing list posting ('List-Post' header). This collection can be modified. May be empty.
| |
| ListSubscribe |
Gets URL list for mailing list subscription ('List-Subscribe' header). This collection can be modified. May be empty.
| |
| ListUnsubscribe |
Gets URL list for mailing list unsubscription ('List-Unsubscribe' header). This collection can be modified. May be empty.
| |
| MessageID |
Gets or sets id of this email message ('Message-ID' header). Does not include surrounding brackets (< and >).
| |
| MimeVersion |
Gets or sets MIME version of this email message ('MIME-version' header).
| |
| NeedsDecryption |
Indicates if this email message needs to be decrypted.
You can use Decrypt()()()(), Decrypt(List<(Of <<'(X509Certificate2>)>>)), Decrypt(X509Certificate2) to decrypt a message.
| |
| NonVisuals |
Gets the list of all non visual elements (ContentDisposition.Value equal to Attachment) in this email message.
| |
| NotificationTo |
Gets or sets the 'Disposition-Notification-To' header. This collection can be modified. May be empty.
| |
| Priority |
Gets or sets the priority of this email message ('Priority' header).
Consider using GetGenericPriority()()()() as it also checks Importance and XPriority properties.
| |
| Received |
Gets the list of all 'received' headers added to this email message.
| |
| References |
Gets the ids of the referenced email messages). Does not include surrounding brackets (< and >).
This collection can be modified. May be empty.
| |
| ReplyTo | ||
| ReturnReceiptTo |
Gets or sets the 'Return-Receipt-To' header. This collection can be modified. May be empty.
| |
| Sender |
Gets or sets mailbox of the agent responsible for the actual transmission of this email message ('Sender' header).
If 'Sender' is null, it returns first item from From collection.
| |
| Sensitivity |
Gets or sets the Sensitivity of this email message ('Sensitivity' header)
| |
| Subject |
Gets or sets the subject of this email message ('Subject' header). May be null.
| |
| Text |
Gets plain text version of this email message.
For some HTML emails plain text may be not defined, you can use GetTextFromHtml()()()() method to extract plain text from HTML content.
You can also use GetBodyAsText()()()() or GetBodyAsHtml()()()() to obtain bosy in a specific format.
| |
| TextData |
Gets the object representing 'text/plain' body of this email message. May be null if no text/plain data is present.
You may use Text as a shortcut to retrieve plain text data.
| |
| TextDataString | Obsolete.
Gets plain text data from this email message.
For some HTML emails plain text may be not defined, you can use GetTextFromHtml()()()() method to extract plain text from HTML content.
| |
| To | ||
| VCards |
Gets the list of all vCards in this email message.
| |
| Visuals |
Gets the list of all visual elements (ContentDisposition.Value equal to Inline) in this email message.
You can use Visuals[string cid] to find the picture embedded in the HTML body using its content id ('Content-ID' header).
| |
| XConfirmReadingTo |
Gets or sets the 'X-Confirm-Reading-To' header. This collection can be modified. May be empty.
| |
| XPriority |
Gets or sets the X-Priority of this email message ('X-Priority' header) (Outlook specific).
Value ranges from "1" to "5" where "1" is the highest priority, "3" is normal, and "5" is the lowest priority.
Consider using GetGenericPriority()()()() as it also checks Priority and Importance properties.
|