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?: string
readonly attachments Ui?: { ... }
Array of supported attachments to add to the message Default: {} Type options: {"multipleValues":true}
readonly from Email?: string
Email address of the sender optional with name
readonly headers Json?: string
Optional 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?: string
Global merge variables Type options: {"alwaysOpenEditWindow":true}
readonly merge Vars Ui?: { ... }
Per-recipient merge variables Default: {} Type options: {"multipleValues":true}
readonly metadata Json?: string
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. 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?: string
The template you want to send. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getTemplates"}
readonly to Email?: string
Email 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}