Hello all,
When I send an email, I set mailMergeContext like this
mailMergeContext[‘SMTPToEmail’] = person1Email;
mailMergeContext[‘SMTPToName’] = person1Name;
But when I have multiple recipients, I use mailMergeContext like so:
mailMergeContext[‘SMTPAddresses’] = [
five.emailAddress(person1Email),
five.emailAddress(person2Email)];
I tried to insert person1Name and person2Name in this function in different ways but no success. Is it possible to insert ‘SMTPToName’ for each of my recipients in mailMergeContext[‘SMTPAddresses’] ?
Thank you!
Jean
Hi Jean,
Take a look at these links, it should help you.
emailAddress() | Five | Low-Code For Real Developers
emailAddress() | Five | Low-Code For Real Developers
You can see in the image below, how to set the personal name of each of the emails personal addresses, ultimately it is the second parameter of the emailAddress() function.
The following link shows our Mail Merge Reserved Context Options.
executeAction() | Five | Low-Code For Real Developers
Let me know how you go, happy to send through more instructions if required.
Kind regards,
Jo
This is great! Tested and it works. I missed this one in the documentation. Thank you!
Jean