/// VERSION 1
let emailToSend = EmailMessageData.constructFromObject({
Recipients: [
new EmailRecipient(email)
],
Content: {
TemplateName: "Template01",
Body: [
BodyPart.constructFromObject({
ContentType: "HTML",
price: "123456789",
})
],
Subject: "Price offer",
From: "xxx@xxx.xxx"
}
});
/// VERSION 2
let emailToSend = EmailMessageData.constructFromObject({
Recipients: [
new EmailRecipient(email)
],
Content: {
TemplateName: "Template01",
Body: [
BodyPart.constructFromObject({
ContentType: "HTML",
})
],
Subject: "Price offer",
From: "xxx@xxx.xxx"
price: "123456789",
}
});