mailui.init({
mergeTags: {
first_name: {
label: "First Name",
value: "{{first_name}}",
},
last_name: {
label: "Last Name",
value: "{{last_name}}",
}
}
});
mailui.setMergeTags({
first_name: {
label: "First Name",
value: "{{first_name}}",
},
last_name: {
label: "Last Name",
value: "{{last_name}}",
}
});
mailui.init({
mergeTags: {
user: {
label: "User Info.",
mergeTags: {
first_name: {
label: "First Name",
value: "{{user.first_name}}"
},
last_name: {
label: "Last Name",
value: "{{user.last_name}}"
},
}
}
}
});