- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2017 06:06 AM
Hello Gurus,
I created the following mail-script and tested in Scripts Background it is returning emails for sure:
Now In my email template I'm invoking it like this:
But when I click on email, it does not populate the cc list, can you help me?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2017 02:29 AM
Thanks to all who responded. I finally solved it and this is how:
Firstly the email.addAddress thingy did not work, *but* what was working is if I put a field name say 'description' in 'to' field it would populate the value from description in the mail-template. So ..
- I created a new column say 'u_emailAddressHolder'
- Created a insert/update business rule that will update email addresses into this column based on my query
- Updated my template 'To' field with simply 'u_emailAddressHolder'
bingo all emails pop up.
I must give credit to Mr.David Hreben, who actually used this ingenious trick in the last message in here 🙂 Email Client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2017 02:29 AM
Thanks to all who responded. I finally solved it and this is how:
Firstly the email.addAddress thingy did not work, *but* what was working is if I put a field name say 'description' in 'to' field it would populate the value from description in the mail-template. So ..
- I created a new column say 'u_emailAddressHolder'
- Created a insert/update business rule that will update email addresses into this column based on my query
- Updated my template 'To' field with simply 'u_emailAddressHolder'
bingo all emails pop up.
I must give credit to Mr.David Hreben, who actually used this ingenious trick in the last message in here 🙂 Email Client