ServiceNow: How to add Email Recipient to CC and BCC to an outbound email

ServiceNow: How to add Email Recipient to CC and BCC to an outbound email

3.449 Lượt nghe
ServiceNow: How to add Email Recipient to CC and BCC to an outbound email
To add email addresses to the cc or bcc field of an outbound email in ServiceNow, you can use a mail script and the email.addAddress method. To call the script on the notification, append ${mail_script:xxx}. You can add multiple email addresses by iterating through a while loop in the script. To view the cc and bcc fields in action, you may need to add the Blind and Copied fields to the form on the outbound email record. This will allow you to see the email addresses that have been added to the cc or bcc fields. Ta dahhhhhhhhhhhh! Enjoy ServiceNow Docs: https://docs.servicenow.com/en-US/bundle/tokyo-servicenow-platform/page/script/server-scripting/reference/r_ExScptEmlNtfn.html ${mail_script:xxx} email.addAddress('cc','[email protected]','Example'); #servicenerd #servicenow