TTMSFNCCloudGoogleGmailMessage Class
Represents a single mail message with its recipients, subject, body, headers, labels and attachments.
API unit family: TMSFNCCloudGoogleGmail
Inherits from: TCollectionItem
Syntax
TTMSFNCCloudGoogleGmailMessage = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Attachments | Collection of attachments of the message. |
| BCCRecipients | List of blind carbon copy recipient addresses. |
| Body | Plain-text body of the message. |
| CCRecipients | List of carbon copy recipient addresses. |
| Date | Date of the message as provided in its header. |
| From | Sender address of the message. |
| HTMLBody | HTML body of the message. |
| HasAttachments | Returns True when the message has one or more attachments. |
| Headers | Collection of headers associated with the message. |
| ID | Identifier of the message. |
| Labels | List of label names or identifiers applied to the message. |
| MessageType | Content type of the message body, plain text or HTML. |
| Snippet | Short preview snippet of the message content. |
| Subject | Subject line of the message. |
| ToRecipients | List of primary recipient addresses. |
Methods
| Name | Description |
|---|---|
| GetBodyWithInlineImages | Returns the message body with inline image references replaced by embedded base64-encoded image data, downloading the referenced attachments when needed. |