Hi,
I would like to trigger an email using a custom email template. That email needs to be sent to a group. How do I specify it in the "To:" field of the template.
I am triggering this email in a workflow.
I was able to retrieve the email ids of the individual users of the group in an ecma script and populated the metadata, but was not able to use it in the template, because The number of users in the group will be dynamic. So I cannot have any specified number of "To:" fields in the template. I even tried iterating the users and came up with semi-colon and comma separated values for the "To:" list but it's throwing an exception ("Illegal character in address in string").
Kindly provide some suggestions.