how to add group recipients to bcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 02:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 02:46 AM
Hi Radha,
You need to write a mail script to add BCC in notification.
Inside mail script query to "sys_user_grmember" table and get user list.
Pass the emails of the user list to by using below format
email.addAddress("bcc", "john.secret@example.com","John Roberts");
Please mark it as Helpful/Correct according to its impact.
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 03:01 AM
Use below code for getting grp members:-
Kindly mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
var gp = ' ';
var grp = new GlideRecord('sys_user_grmember');
grp.addQuery('group',current.u_grp_rec_13);
grp.query();
if(grp.next()) {
if (gp.length > 0) {
//build a comma separated string of groups if there is more than one
gp += (',' + grp.user);
}
else {
gp = grp.user;
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 03:24 AM
its not working where you adding group recipients to bcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 03:27 AM
Hi Radha,
Have you followed the steps I have written in my previous comment?
Thanks,
Mihir