TTMSFNCCloudSendGridAttachment Class
Represents a file attachment of the message, holding its Base64-encoded content, file name, MIME type and disposition.
API unit family: TMSFNCCloudSendGrid
Inherits from: TPersistent
Syntax
TTMSFNCCloudSendGridAttachment = class(TPersistent)
Properties
| Name | Description |
|---|---|
| AttachmentType | MIME type of the attachment. |
| Content | Base64-encoded content of the attached file. |
| Disposition | Determines whether the attachment is shown inline or as a downloadable file. |
| FileName | File name shown for the attachment. |
| ID | Content identifier used to reference an inline attachment from the message body. |
Methods
| Name | Description |
|---|---|
| ToJSON | Builds the JSON object describing this attachment. |