Notification Content - Blind Copy

Marty Bright
Giga Expert

We are using Notification Content to send emails to a large audience. We would like the emails to be sent using BCC field rather than the To field in case they 'reply to all'.

I reviewed this post: https://community.servicenow.com/community?id=community_question&sys_id=c289752fdb309890feb1a851ca96... 

With the Event parm 1 contains recipient field on the Notification - Content Emails checked, as mentioned in the post, all of the audience members are in the Recipients (and BCC field) field in the log and the To field in the emails. 

 

find_real_file.png

But when I unchecked the "Event parm 1 contains recipient" field,  the email logs now show only one address in the Recipients field and multiple addresses in the Blind copied field, however, no-one in the Blind copied field receives and email. Only email addresses in the recipients field get the email. 

find_real_file.png

 

Why are no emails being sent to the addresses in the Blind copied field?

Could it be the formatting of the email address? ie <Marty.Bright@unchealth.unc.edu> rather than Marty.Bright@unchealth.unc.edu.

Is this a ServiceNow issue or an email issue?

Thanks,

Marty

1 ACCEPTED SOLUTION

Marty Bright
Giga Expert

Vkachineni, Thanks for your reply.

 

The bcc email addresses are being added by the content_delivery_set_recipients mail script. 

 

However, I was able to fond a resolution to the issue.  I changed this line in the mail script from:

 

email.addAddress("bcc", grUser.email.toString(), grUser.getDisplayValue());

 

to:

 

email.addAddress("bcc", grUser.email.toString(), "");

 

Now the BCC field contains only the email address and not the additional text and they are properly sent to all BCC email addresses.

 

View solution in original post

3 REPLIES 3

vkachineni
Kilo Sage
Kilo Sage

How are you adding the BCC email addresses?

Is it a script or configuration?

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

Marty Bright
Giga Expert

Vkachineni, Thanks for your reply.

 

The bcc email addresses are being added by the content_delivery_set_recipients mail script. 

 

However, I was able to fond a resolution to the issue.  I changed this line in the mail script from:

 

email.addAddress("bcc", grUser.email.toString(), grUser.getDisplayValue());

 

to:

 

email.addAddress("bcc", grUser.email.toString(), "");

 

Now the BCC field contains only the email address and not the additional text and they are properly sent to all BCC email addresses.

 

Would be asking too much if you could provide that mail script?

We are trying to implement the same thing and any idea would be much appreciated. 

Thanks in advance,