TTMSFNCCloudMicrosoftOutlookMailItem Class
Represents a single mail message, including its sender, recipients, subject, body, attachments and state flags.
API unit family: TMSFNCCloudMicrosoftOutlookMail
Inherits from: TCollectionItem
Syntax
TTMSFNCCloudMicrosoftOutlookMailItem = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Attachments | Attachments that were downloaded for a received message. |
| BccRecipientEmails | E-mail addresses of the blind-carbon-copy (Bcc) recipients. |
| BccRecipientNames | Display names of the blind-carbon-copy (Bcc) recipients. |
| Body | Text or HTML content of the message body. |
| CcRecipientEmails | E-mail addresses of the carbon-copy (Cc) recipients. |
| CcRecipientNames | Display names of the carbon-copy (Cc) recipients. |
| ConversationID | Read-only identifier of the conversation thread the message belongs to. |
| Files | Files to send with the message as attachments or inline images. |
| FlagStatus | Read-only follow-up flag status of the message, such as flagged, complete or not flagged. |
| FromEmail | Read-only e-mail address of the mailbox the message was sent from. |
| FromName | Read-only display name of the mailbox the message was sent from. |
| HasAttachments | When True, the message has one or more attachments. |
| ID | Read-only unique identifier of the message. |
| Importance | Read-only importance level reported for the message, such as low, normal or high. |
| IsDraft | When True, the message is a draft that has not been sent. |
| IsRead | When True, the message has been marked as read. |
| MailType | Content type of the message body, distinguishing plain text from HTML. |
| ReceivedDateTime | Read-only date and time at which the message was received. |
| RecipientEmails | E-mail addresses of the primary (To) recipients. |
| RecipientNames | Display names of the primary (To) recipients. |
| SenderEmail | Read-only e-mail address of the actual sender of the message. |
| SenderName | Read-only display name of the actual sender of the message. |
| Subject | Subject line of the message. |
| WebLink | Read-only browser link that opens the message in the web client. |
Methods
| Name | Description |
|---|---|
| FromJSON | Reads the message fields, sender, recipients and body from a parsed JSON message object. |
| GetBodyWithInlineImages | Returns the message body with referenced inline images replaced by their Base64-encoded data so the body can be displayed standalone. |
| GetOwner | Returns the collection that owns this message. |