Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleAction Script
string[] to = replace(BA_getSingleValue(argv, "Send to"), ",", "|");
string[] cc = replace(BA_getSingleValue(argv, "CC"), ",", "|");
string subject = BA_getSingleValue(argv, "Subject");
string body = BA_getSingleValue(argv, "Email body");
string[] attachments = BA_getMultiValues(argv, "Attachments");
return sendEmail(userEmailAddress(currentUser()), to, cc, subject, body,"en_US", attachments);

...