Hi Stephanie,
I found the solution, but it is quite confusing. Anyway, I post it here in case it helps anyone.
defVar --name Cc --type List --innertype String --value "[name@hotmail.com;name@gmail.com;name@yahoo.com]"The variable Cc has to be a list type, but the email addresses must be separated by semicolons instead of commas. It is confusing, because the lists must be separated with comma and this way, what you are obtaining is a list with a single element, in which there are all the email addresses that you want to place in copy.
By the way, this doesn't happen with the addressees (To), you can list them separated by comma and the email is sent to all of them.
Regards,
------------------------------
Yon García Nistal
Skechers Iberia
------------------------------
Original Message:
Sent: Mon October 04, 2021 03:35 PM
From: Stephanie Wilkerson
Subject: Email is only sent to the first email address in Cc.
Hi Yon,
Another option suggested is to try using a DestinataryList, something like this:
defVar --name vDestinataryList --type List --innertype String
insert --index 1 --value "${invEmail}" --collection "${vDestinataryList}"
If this doesn't work for you, please open a support case for this one. Thanks!
------------------------------
Stephanie Wilkerson
IBM
------------------------------