0

Merge record fields into an HTML email

Dear All,

I am familiar with this command, but how would I include Ninox fields (like “First Name” “Last Name”) in the body of my HTML email? What is the syntax?

sendEmail({
    from: “Test Company <test@test.com>”,
    to: “test@test.com”,
    bcc: “test@test.com”,
    subject: “Test Subject”,
    text: “Raw text here if no HTML parameter used”,
    html: “<h3>Dear Mr & Mrs</h3>, <i>HTML formatted text here</i>”
    attachments: file(this, xAttName)

Reply

null