- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2020 10:27 AM
Hello,
I have an email notification that has the purpose of introducing a manager and a candidate. When the email sends, I would like both of them to receive the same email, with their email addresses CC'd so they can start to communicate together. Is this possible? What would that code look like? Thank you for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2020 10:23 AM
Do the email addresses really need to be cc'ed? Why not the "To" in the email? As Michael Jones mentioned yesterday, if they are reference fields on the target record, you can just select the proper fields in the "Users/Groups in fields" field on the "Who will receive" tab.
The less scripting in the platform the better (although not always possible to avoid).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2020 10:08 PM
Hi,
you can use GlideApi in email Script to get the details of manager.
for example,
var gr = new GlideRecord('table name');
gr.addQuery();
gr.query();
while(gr.next())
{
var manager_email = gr.manager;
email.addAddress("cc",manager_email);
}
Please Mark Correct/Helpful answer .
Thanks and Regards,
Kunal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2020 08:21 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2020 10:22 PM
Hi
Could you show how you have called your mail script in your notification?
Regards
Omkar Mone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2020 08:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2020 10:23 AM
Do the email addresses really need to be cc'ed? Why not the "To" in the email? As Michael Jones mentioned yesterday, if they are reference fields on the target record, you can just select the proper fields in the "Users/Groups in fields" field on the "Who will receive" tab.
The less scripting in the platform the better (although not always possible to avoid).