Send E-mail smart service not sending to the second email recipient

In the documentation for the Send E-mail smart service, it says to put a semicolon between email recipients.

This is the expression I am using.

= toemailaddress(
  pv!spkrRecord['recordType!PMSO Speaker.fields.speakerEmail']
);
toemailaddress(
  pv!parishProfileRecord['recordType!PMSO Parish Profile.fields.parishContactEmail']
)
 

However, the first recipient receives the email, but the second one does not.  What am I doing wrong here?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Chris.Gillespie

    Configuring the email recipients can be a bit confusing. Directly in the dialog, Appian shows multiple addresses with a semicolon separator. But when you add more using the script editor popup, you will have to follow the normal Appian scripting syntax.

    And, when we are already talking about this dialog. When you enter something in the scripting popup, this is always ADDED to the list of addresses in the recipients field. To replace any existing addresses, you need to clean up the field first.

Children
No Data