Untitled
unknown
plain_text
3 years ago
1.4 kB
5
Indexable
/// 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",
                        }
                    });Editor is loading...