Forums

Dynamic To in email event doesn't work

mandihabakuk 28 Jul, 2014
I'm trying to send an email to a Dynamic To recipient address. I always get the error message:"Mailer Error: You must provide at least one recipient email address".
The setup of the email event is as follows
Static: subject, from name,from email.
dynamic: Dynamic To {email}
Debug Info says:
Array
(
[1] => Array
(
[Email] => Array
(
[0] => An email with the details below could NOT be sent:
[1] => To:
[2] => Subject:dynamic to
[3] => From name:Elsbeth
[4] => From email:elsbeth.martin@bluewin.ch
[5] => Reply name:
[6] => Reply email:
[7] => Attachments:
[8] => Body:
<div class="form-group gcore-form-row" id="form-row-2"><label for="email" class="control-label gcore-label-left">Email</label>
<div class="gcore-input gcore-display-table" id="fin-email">armand.martin@bluewin.ch</div></div><div class="form-group gcore-form-row" id="form-row-4"><label for="name" class="control-label gcore-label-left">Name</label>
<div class="gcore-input gcore-display-table" id="fin-name">armand</div></div><div class="form-group gcore-form-row" id="form-row-5"><div class="gcore-input gcore-display-table" id="fin-button3"></div></div>
)

)

)
Thanks for help
mandihabakuk
GreyHead 28 Jul, 2014
Answer
Hi mandihabakuk,

Please use just email without the curly brackets.

Bob
This topic is locked and no more replies can be posted.