I'm loving Chronoforms V5, however, have run into an issue. First I can no longer find how or where to set Dynamic CC or BCC. I do see the Dynamic To field is still there.
I have a form where depending on what people check it creates an array of email addresses. I process this through custom code using the On Submit. Everything with my emails looks good on the debug.
I'm adding the emails to a new form data field like so:
I've tried adding "dyn_email" to the Dynamic To field but I'm not getting any emails and I'm getting an error stating
Mailer Error: You must provide at least one recipient email address.
Here is what debug says:
Everything looks good, but says the email can not be sent. Not sure why.
Thanks for any/all help!
I have a form where depending on what people check it creates an array of email addresses. I process this through custom code using the On Submit. Everything with my emails looks good on the debug.
I'm adding the emails to a new form data field like so:
$dyn_email = implode(",",array_keys($emails));
$form->data['dyn_email'] = $dyn_email;
I've tried adding "dyn_email" to the Dynamic To field but I'm not getting any emails and I'm getting an error stating
Mailer Error: You must provide at least one recipient email address.
Here is what debug says:
[Email] => Array
(
[0] => An email with the details below could NOT be sent:
[1] => To:user1@site.com,user2@site.com,user3@site.com,user4@site.com
[2] => Subject:Inquiry
[3] => From name:Joe Blow
[4] => From email:joe@blow.com
[5] => Reply name:Joe Blow
[6] => Reply email:joe@blow.com
[7] => Attachments:
[8] => Body:
<h1>Inquiry</h1>... the rest of my html
Everything looks good, but says the email can not be sent. Not sure why.
Thanks for any/all help!