Interface MailjetNodeParameters

Source
interface MailjetNodeParameters {
    additionalFields?:
        | {
            bccEmail?: string;
            ccAddresses?: string;
            customCampaign?: string;
            deduplicateCampaign?: boolean;
            fromName?: string;
            priority?: number;
            replyTo?: string;
            templateLanguage?: boolean;
            trackClicks?: | "disabled"
            | "account_default"
            | "enabled";
            trackOpens?: | "disabled"
            | "account_default"
            | "enabled";
        }
        | {
            bccEmail?: string;
            ccEmail?: string;
            customCampaign?: string;
            deduplicateCampaign?: boolean;
            fromName?: string;
            priority?: number;
            replyTo?: string;
            subject?: string;
            templateLanguage?: boolean;
            trackClicks?: string;
            trackOpens?: string;
        };
    from?: string;
    fromEmail?: string;
    html?: string;
    jsonParameters?: boolean;
    operation?: "send"
    | "sendTemplate";
    resource?: "email" | "sms";
    subject?: string;
    templateId?: string;
    text?: string;
    to?: string;
    toEmail?: string;
    variablesJson?: string;
    variablesUi?: {
        variablesValues: { name?: string; value?: string }[];
    };
}

Properties§

§readonly additionalFields?:
    | {
        bccEmail?: string;
        ccAddresses?: string;
        customCampaign?: string;
        deduplicateCampaign?: boolean;
        fromName?: string;
        priority?: number;
        replyTo?: string;
        templateLanguage?: boolean;
        trackClicks?: | "disabled"
        | "account_default"
        | "enabled";
        trackOpens?: | "disabled"
        | "account_default"
        | "enabled";
    }
    | {
        bccEmail?: string;
        ccEmail?: string;
        customCampaign?: string;
        deduplicateCampaign?: boolean;
        fromName?: string;
        priority?: number;
        replyTo?: string;
        subject?: string;
        templateLanguage?: boolean;
        trackClicks?: string;
        trackOpens?: string;
    }

Default: {}

§readonly from?: string

Customizable sender name. Should be between 3 and 11 characters in length, only alphanumeric characters are allowed.

§readonly fromEmail?: string

The title for the email

§readonly html?: string

HTML text message of email

§readonly jsonParameters?: boolean
§readonly operation?: "send" | "sendTemplate"

Default: "send"

§readonly resource?: "email" | "sms"

Default: "email"

§readonly subject?: string

Subject line of the email

§readonly templateId?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTemplates"}

§readonly text?: string

Plain text message of email

§readonly to?: string

Message recipient. Should be between 3 and 15 characters in length. The number always starts with a plus sign followed by a country code, followed by the number. Phone numbers are expected to comply with the E.164 format.

§readonly toEmail?: string

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

§readonly variablesJson?: string

HTML text message of email

§readonly variablesUi?: { ... }

Default: {} Type options: {"multipleValues":true}