How to set CC with email content

Mi4
Tera Expert

Hi,

Is it possible to set sender in CC with email content?

find_real_file.png

I am trying to set notification as a task in a lifecycle event.

Regards,

1 ACCEPTED SOLUTION

Alok Das
Tera Guru

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:

  1. Navigate to the "Notification email Script" in the "System Notification" in filter navigator.
  2. Set the name of email notification "add_newusers_to_cc".
  3. 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

 

 

View solution in original post

19 REPLIES 19

Yes you can add the email address which are not available in sys_user table.

Hi,

Okay, Thank you for kindness.

Regards,

why do you need email script for this, if you are looking to hard-cord the one email address. 

you can assign it on notification it self. 

 

find_real_file.png

 

 

 

 

No, it's not one address. Applicant and manager to TO There is a requirement to set the group email address of the payroll officer in Cc.

pbusch
Tera Expert

You can also fulfill this Requirement using a Before Business Rule on the sys_email table.

~ "Breynia Disticha"