Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

PrashantLearnIT
Giga Sage

I have explained how we can Send an Email as cc & bcc in ServiceNow.

If you have any feedback related to the scripting part, please write it in the comment box.

====================Email Scripts======================

(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
    /* Optional EmailOutbound */
    email, /* Optional GlideRecord */ email_action,
    /* Optional GlideRecord */
    event) {

    // Add your code here
    email.addAddress('cc', 'prashantmrshine@gmail.com', 'Prashant Kumar');
    email.addAddress('bcc', 'prashantmrshine@gmail.com', 'Prashant Kumar');
})(current, template, email, email_action, event);

 

Best Regards,

Prashant

If my article helped you in any way, please mark this as helpful and make this a bookmark.

Version history
Last update:
‎08-05-2022 07:54 AM
Updated by: