- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 12:29 PM
Hi All,
Please help I am looking to add a cc box in an email notification but I can't seem to locate how to do this. I see a bunch of things in the community but it appears that it all involves scripting. Is there anyway around this?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 06:52 PM
That is definitely doable, too. So, rather than putting in an address and name manually, you can reference a field/variable from the table.
So, you could do something like this to send a CC to the manager of the current assignment group on an incident email:
email.addAddress("cc", current.assignment_group.manager.email, current.assignment_group.manager.name);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 06:52 PM
That is definitely doable, too. So, rather than putting in an address and name manually, you can reference a field/variable from the table.
So, you could do something like this to send a CC to the manager of the current assignment group on an incident email:
email.addAddress("cc", current.assignment_group.manager.email, current.assignment_group.manager.name);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 07:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 05:23 AM
If you want to see what users were copied, you can see that in the email log. Personalize the layout and add a column called "Copied". That will show any users who were added as CC or BCC recipients.
One thing you can do to test is to have two lines in your script, one with a hard-coded addressee, and one referencing your variable. That way, the hard coded one acts a little like a log statement, and might give you better insight if the referenced addressee isn't appearing in the copied field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 10:37 AM
Great Idea! I will try that!