Untitled

Anonymous
Plain Text
03/20/2023 7:03 PM
1.4 KB
12
Indexable
Never
/// VERSION 1

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

/// VERSION 2

let emailToSend = EmailMessageData.constructFromObject({
                        Recipients: [
                            new EmailRecipient(email)
                        ],
                        Content: {
                            TemplateName: "Template01",
                            Body: [
                                BodyPart.constructFromObject({
                                    ContentType: "HTML",
                                })
                            ],
                            Subject: "Price offer",
                            From: "[email protected]"
                            price: "123456789",
                        }
                    });
Editor is loading...