Add CC in the email notifications

jyoti29208
Giga Expert

Hi All,

 

Is there any way to add a DL in CC of notifications template without scripting ?

or scripting is the only way to do 

Please help.

 

Regards,

Jyoti

1 ACCEPTED SOLUTION

SP22
Mega Sage
Mega Sage

Hi,

You just set the type, address you want to send and the address display name. You need to write this in the email scripts.

//email.addAddress(type, address, displayname);
  email
.addAddress("cc","john.copy@example.com","John Roberts");

Please check below doc

Example scripting for email notifications

Thanks

SP

View solution in original post

4 REPLIES 4

Jaspal Singh
Mega Patron
Mega Patron

Hi Jyoti,

Unfortunately, there is no other way apart from using mail script.

Anything that you see in Who Will Receive tab will be added as To recipient & for CC only way is mail script.

Allen Andreas
Administrator
Administrator

Hello,

Specifically to the "CC" no, as Jaspal mentioned, that is script only.

If you want to add the DL email address to the "To" recipients, you could technically add that either directly in the notification settings and the "who to send to" tab and add the email, or pass it via an event as parm1 or parm2, and then check the relevant checkbox in the same notification settings tab section mentioned a moment ago.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

I'm glad you found a correct answer, but your question was if you could do that without scripting.

It was not clear that you wanted to both ask that question and then have script provided for you. If you don't mind, please state that in the future if that is truly what you'd like assistance with.

With your original question, it was answered by the above replies, which should at least be Helpful...to you.

Take care! 🙂

Please mark reply as Helpful, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

SP22
Mega Sage
Mega Sage

Hi,

You just set the type, address you want to send and the address display name. You need to write this in the email scripts.

//email.addAddress(type, address, displayname);
  email
.addAddress("cc","john.copy@example.com","John Roberts");

Please check below doc

Example scripting for email notifications

Thanks

SP