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 additional Fields?:
| {
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;
}
readonly additional Fields?:
| {
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;
}
Source§readonly from?: string
readonly from?: string
Customizable sender name. Should be between 3 and 11 characters in length, only alphanumeric characters are allowed.
Source§readonly template Id?: string
readonly template Id?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTemplates"}
Source§readonly to?: string
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.
Default: {}