Interface MailjetNodeParameters

Source
interface MailjetNodeParameters {
    additionalFields?:
        | {
            bccEmail?: string;
            ccAddresses?: string;
            fromName?: string;
            priority?: number;
            replyTo?: string;
            templateLanguage?: boolean;
            trackClicks?: | "disabled"
            | "account_default"
            | "enabled";
            trackOpens?: | "disabled"
            | "account_default"
            | "enabled";
        }
        | {
            bccEmail?: string;
            ccEmail?: string;
            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§

Source§

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

Default: {}

Source§

readonly from?: string

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

Source§

readonly fromEmail?: string

The title for the email

Source§

readonly html?: string

HTML text message of email

Source§

readonly jsonParameters?: boolean

Source§

readonly operation?: "send" | "sendTemplate"

Default: "send"

Source§

readonly resource?: "email" | "sms"

Default: "email"

Source§

readonly subject?: string

Subject line of the email

Source§

readonly templateId?: string

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

Source§

readonly text?: string

Plain text message of email

Source§

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.

Source§

readonly toEmail?: string

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

Source§

readonly variablesJson?: string

HTML text message of email

Source§

readonly variablesUi?: { variablesValues: { name?: string; value?: string }[] }

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