interface MandrillNodeParameters {
attachmentsJson?: string;
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
attachmentsValues: {
content?: string;
name?: string;
type?: string;
}[];
};
fromEmail?: string;
headersJson?: string;
headersUi?: {
headersValues: { name?: string; value?: string }[];
};
jsonParameters?: boolean;
mergeVarsJson?: string;
mergeVarsUi?: {
mergeVarsValues: {
content?: string;
name?: string;
}[];
};
metadataJson?: string;
metadataUi?: {
metadataValues: { name?: string; value?: string }[];
};
operation?: "sendTemplate"
| "sendHtml";
options?: {
async?: boolean;
autoHtml?: boolean;
autoText?: boolean;
bccAddress?: string;
fromName?: string;
googleAnalyticsCampaign?: string;
googleAnalyticsDomains?: string;
html?: string;
important?: boolean;
inlineCss?: boolean;
ipPool?: string;
preserveRecipients?: boolean;
returnPathDomain?: string;
sendAt?: string;
signingDomain?: string;
subAccount?: string;
subject?: string;
tags?: string;
text?: string;
trackClicks?: boolean;
trackingDomain?: string;
trackOpens?: boolean;
urlStripQs?: boolean;
viewContentLink?: boolean;
};
resource?: "message";
template?: string;
toEmail?: string;
}Properties§
readonly attachments Json?: stringreadonly attachments Ui?: { ... }Array of supported attachments to add to the message Default: {} Type options: {"multipleValues":true}
readonly from Email?: stringEmail address of the sender optional with name
readonly headers Json?: stringOptional extra headers to add to the message (most headers are allowed) Type options: {"alwaysOpenEditWindow":true}
readonly headers Ui?: { ... }Optional extra headers to add to the message (most headers are allowed) Default: {} Type options: {"multipleValues":true}
readonly json Parameters?: boolean§readonly merge Vars Json?: stringGlobal merge variables Type options: {"alwaysOpenEditWindow":true}
readonly merge Vars Ui?: { ... }Per-recipient merge variables Default: {} Type options: {"multipleValues":true}
readonly metadata Json?: stringMetadata an associative array of user metadata. Mandrill will store this metadata and make it available for retrieval. In addition, you can select up to 10 metadata fields to index and make searchable using the Mandrill search api. Type options: {"alwaysOpenEditWindow":true}
readonly metadata Ui?: { ... }Metadata an associative array of user metadata. Mandrill will store this metadata and make it available for retrieval. In addition, you can select up to 10 metadata fields to index and make searchable using the Mandrill search api. Default: {} Type options: {"multipleValues":true}
readonly operation?: "sendTemplate" | "sendHtml"Default: "sendTemplate"
readonly options?: { ... }Default: {}
readonly resource?: "message"Default: "message"
readonly template?: stringThe template you want to send. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getTemplates"}
readonly to Email?: stringEmail address of the recipient. Multiple ones can be separated by comma.
An array of supported attachments to add to the message Type options: {"alwaysOpenEditWindow":true}