Notification: ONly have email address in BCC

samadam
Kilo Sage

Hi,

I have a requirement to send email notification with none in the To line and all users/groups in bcc . Is it possible to do this?

7 REPLIES 7

Claude DAmico
Kilo Sage

CC and BCC are populated via mail script. There are examples in the product documentation here.

Claude E. D'Amico, III - CSA

MrMuhammad
Giga Sage

Hi @samadam,

Yes that is possible. Do not set the recipient on the Notification instead write a mail script.  

email.addAddress("bcc", user.email, user.getDisplayValue());}}

Call this from your notification and you are done!

Regards,

Muhammad

Regards,
Muhammad

Thank you, I am working on this. If I want to add group should I just loop through each users emails and add them ?

@samadam  - yes you can loop through group members and add into an array. Then that array can be passed as param1.

email.addAddress("bcc", <<userArray>>, user.getDisplayValue());
Regards,
Muhammad