how can i add watch list users to cc in the email notifications
This content was last updated in 2023. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 06:42 AM
hello friends,
i am trying to send the email notifications to the cc ie the user from the watch list.Could you please help me out
please provide with details as i am new to scripting.
Thanks,
venkat
Labels:
- Labels:
-
Scripting and Coding
20 REPLIES 20
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2018 06:48 AM
Not sure if you ever sorted this out, but try adding .toString() when setting the email addresses....It worked for me:
email.addAddress("cc", user.email.toString(), user.getDisplayValue().toString);}}