Hi,
I am trying to figure out how to have multiple email addresses for a dynamic cc or bcc field in Chronoforms V4 RC3.0 on a Joomla 1.7.4 site.
In my On Submit Custom Code block I am trying to have the dynamic cc field, which is set to ccemail go to multiple email addresses. I have tried the following code, but neither works:
or
I also tried putting a ; between the email addresses.
What am I doing wrong?
Thank you.
I am trying to figure out how to have multiple email addresses for a dynamic cc or bcc field in Chronoforms V4 RC3.0 on a Joomla 1.7.4 site.
In my On Submit Custom Code block I am trying to have the dynamic cc field, which is set to ccemail go to multiple email addresses. I have tried the following code, but neither works:
$form->data['ccemail'] = 'a@domain.ca, b@domain2.com';
or
$form->data['ccemail'][] = 'a@domain.ca';
$form->data['ccemail'][] = 'b@domain2.com';
I also tried putting a ; between the email addresses.
What am I doing wrong?
Thank you.