- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 12:17 AM
Hi,
Is it possible to set sender in CC with email content?
I am trying to set notification as a task in a lifecycle event.
Regards,
Solved! Go to Solution.
- Labels:
-
Notifications

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 03:42 AM
Hi,
You need to create a email script and define the user you want to set as cc in email and then call the email script from the notification.
Steps to create Email Script and how to use:
- Navigate to the "Notification email Script" in the "System Notification" in filter navigator.
- Set the name of email notification "add_newusers_to_cc".
- add below code in the script:
email.addAddress("cc","email_address_of_the_user","Name_of_ther_user");
//if you want to push the user dynamically then you can use the scripting to validate and push the user.
4. Now navigate to the notification where you want to add cc.
5. add "${mail_script:add_newusers_to_cc}" in "Message HTML" field in "What it will contain" form section of notification.
Kindly mark my answer as Correct and helpful based on the Impact.
Regards,
Alok

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 12:21 AM
Hey MI,
You may have to email script to do this.
//email.addAddress(type, address, displayname);
email.addAddress("cc", "john.copy@example.com","John Roberts");
email.addAddress("bcc", "john.secret@example.com","John Roberts")
Refer to these links also: https://community.servicenow.com/community?id=community_question&sys_id=37290fe1db5cdbc01dcaf3231f96...
If i was able to help you out then please mark my answer Correct and Helpful.
Thanks and Regards:
Utpal Dutta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 02:26 AM
Hi,
Sorry for the rudimentary.
Where can I put the text? Does that mean include it in the script?
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 02:44 AM
Hey Mi,
- Go to application navigator and search for Email scripts module.
- Open it and create a new email script with above code.
- Now to call this email script in your notification just call it by this (${mail_script:mail_script_name})
- Use the above calling in Message body.
Don't forget to mark my answer Correct and Helpful.
Thanks and Regards:
Utpal Dutta

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 12:24 AM
Hey,
For that, write an email script and call it in notification,
script - email.addAddress("cc","mail address","name");
call - ${mail_script:script_name}
Please mark correct and helpful.
Thanks
Tanushree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 02:26 AM
Hi,
Sorry for the rudimentary. Where can I put the text? Does that mean include it in the script?
Regards,