mail_script why does it not populate the cc field?

andy_dufresne
Tera Expert

Hello Gurus,

I created the following mail-script and tested in Scripts Background it is returning emails for sure:

find_real_file.png

Now In my email template I'm invoking it like this:

find_real_file.png

But when I click on email, it does not populate the cc list, can you help me?

find_real_file.png

Thanks in advance

1 ACCEPTED SOLUTION

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 ..



  1. I created a new column say 'u_emailAddressHolder'
  2. Created a insert/update business rule that will update email addresses into this column based on my query
  3. 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  


View solution in original post

10 REPLIES 10

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 ..



  1. I created a new column say 'u_emailAddressHolder'
  2. Created a insert/update business rule that will update email addresses into this column based on my query
  3. 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