TTMSFNCCloudMailChimpMessage Class
Describes a complete transactional message, including content, sender and recipient details, tracking options, attachments, and merge configuration.
API unit family: TMSFNCCloudMailChimp.Transactions
Inherits from: TPersistent
Syntax
TTMSFNCCloudMailChimpMessage = class(TPersistent)
Properties
| Name | Description |
|---|---|
| Attachments | The files attached to the message. |
| AutoHTML | When True, automatically generates an HTML part from the plain-text body. |
| AutoText | When True, automatically generates a plain-text part from the HTML body. |
| BCCAddress | An optional address to which a blind carbon copy of the message is sent. |
| FromEmail | The sender email address. |
| FromName | The sender display name. |
| GlobalMergeVariables | Merge variables applied to every recipient of the message. |
| GoogleAnalyticsCampaign | The Google Analytics campaign name associated with the message. |
| GoogleAnalyticsDomain | An optional list of domains for which Google Analytics tracking is enabled. |
| HTML | The HTML body of the message. |
| Headers | Additional message headers, one per line as name: value pairs. |
| Images | The images embedded in the message body. |
| Important | When True, marks the message as important for priority delivery. |
| InlineCSS | When True, inlines CSS styles into the HTML body. |
| Merge | When True, enables merge-tag processing using the configured merge language and variables. |
| MergeLanguage | The template syntax used when Merge is enabled. |
| MergeVariables | Merge variables applied to specific recipients only. |
| MetaData | Custom metadata stored with the message, one name=value pair per line. |
| PreserveRecipients | When True, recipients see all addresses in the message rather than only their own. |
| ReturnPathDomain | A custom domain used for the message return path. |
| SendTo | The collection of recipients the message is sent to. |
| SigningDomain | A custom domain used to sign the message with DKIM. |
| SubAccount | The identifier of the subaccount used to send the message. |
| Subject | The subject line of the message. |
| Tags | An optional list of tags used to categorize the message for reporting. |
| Text | The plain-text body of the message. |
| TrackClick | When True, enables tracking of link clicks within the message. |
| TrackOpens | When True, enables tracking of message opens. |
| TrackingDomain | A custom domain used for tracking opens and clicks. |
| URLStripQS | When True, strips the query string from tracked URLs. |
| ViewContentLink | When True, adds a link allowing recipients to view the message content in a browser. |
Methods
| Name | Description |
|---|---|
| ToJSON | Serializes the complete message to its JSON representation. |