CC/BCC in Notifications
Overview
The Notification record form does not expose a CC or BCC field directly. To add a CC or BCC recipient to a notification, you must use an Email Script that calls email.addAddress().
Creating the Email Script
Create a new Email Script (System Notification > Email > Notification Email Scripts) with the following template:
CC_BCC_Script.js
| |
email.addAddress() takes three arguments:
- Type —
"cc"or"bcc" - Email address — the recipient’s email address
- Name — the recipient’s display name
Adding the Script to a Notification
Once the Email Script is created, reference it from the notification’s Message HTML field using the mail_script syntax:
${mail_script:Name_of_script}Replace Name_of_script with the name of the Email Script record you created.
mail_script calls can be placed anywhere in the Message HTML body. The script itself does not render visible output unless you also call template.print() — it only needs to run to add the CC/BCC addresses to the outbound email.Last updated on