- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 10:59 AM
Hello All, a simple scripting question.
I am using email methode ' addAddress(String type, String address, String displayname) - type can be "cc" or "bcc" '
in my email script with the help of this method I am able to send "CC" OR "BCC" but
I want to set "TO" address dynamically with the help of e-mail script.
I know we can use events and use event parameter and other wiring to pass the recipients but I would like to Use the email scripts to do something like email.addAddress("to", user.email, user.getDisplayValue());
Please let me know if this is possible.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 11:20 AM
We can not set "To" using email script methods. There is no OOB method available to set "To" recipients like CC, BCC
You will have to use event queue mechanism to pass "to" parameters.
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 11:20 AM
We can not set "To" using email script methods. There is no OOB method available to set "To" recipients like CC, BCC
You will have to use event queue mechanism to pass "to" parameters.
Regards,
Sachin