send email notification to recipients in BCC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 06:27 AM
hello All,
We have a requirement where in there are a lot of email addresses in recipient and we would want the receipient addresses move to BCC so that users do not get to know other recipients email addresses.
how to achieve this ?
UI action >>event>>notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 06:57 AM
To add Recipient to CC or BCC of the email notification, you need to use Email Script and call it on email notification.
Format in email Script to add BCC is as below:
email.addAddress("bcc","john.secret@example.com","John Roberts");
Reference Link: https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/script/server-scripting/reference...
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 08:41 AM
I am using event to generate notification.
UI action >>Event>>notification
Event takes care of the list of users to whom email needs to be sent.
Now the email notification shows all the recipients in TO field and we want to hide that hence we want to BCC users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 07:22 AM
The screen you shared is how an email looks like from the instance mailbox, which is the end result. I get it why you wanted to look over there how they look but in order to achieve what you want you have attack the source of the issue, whether it is an email client or a notification.
For example, I activated the Email function on problem tickets and when you press it the "email client" looks like the second screen that has the bcc field.
If I helped you with your case, please click the Thumb Icon and mark as Correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 08:42 AM
I am using event to generate notification.
UI action >>Event>>notification
Event takes care of the list of users to whom email needs to be sent.
Now the email notification shows all the recipients in "TO" field and we want to hide that hence we want to BCC users