Interface MandrillNodeParameters

Source
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§

Source§

readonly attachmentsJson?: string

An array of supported attachments to add to the message Type options: {"alwaysOpenEditWindow":true}

Source§

readonly attachmentsUi?: {
    attachmentsBinary: { property?: string }[];
    attachmentsValues: {
        content?: string;
        name?: string;
        type?: string;
    }[];
}

Array of supported attachments to add to the message Default: {} Type options: {"multipleValues":true}

Source§

readonly fromEmail?: string

Email address of the sender optional with name

Source§

readonly headersJson?: string

Optional extra headers to add to the message (most headers are allowed) Type options: {"alwaysOpenEditWindow":true}

Source§

readonly headersUi?: { headersValues: { name?: string; value?: string }[] }

Optional extra headers to add to the message (most headers are allowed) Default: {} Type options: {"multipleValues":true}

Source§

readonly jsonParameters?: boolean

Source§

readonly mergeVarsJson?: string

Global merge variables Type options: {"alwaysOpenEditWindow":true}

Source§

readonly mergeVarsUi?: { mergeVarsValues: { content?: string; name?: string }[] }

Per-recipient merge variables Default: {} Type options: {"multipleValues":true}

Source§

readonly metadataJson?: 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}

Source§

readonly metadataUi?: { metadataValues: { name?: string; value?: 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. Default: {} Type options: {"multipleValues":true}

Source§

readonly operation?: "sendTemplate" | "sendHtml"

Default: "sendTemplate"

Source§

readonly 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;
}

Default: {}

Source§

readonly resource?: "message"

Default: "message"

Source§

readonly template?: string

The template you want to send. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getTemplates"}

Source§

readonly toEmail?: string

Email address of the recipient. Multiple ones can be separated by comma.