Forums

Email not sent

eftie 24 Apr, 2017
My 1st issue in many years of using Chronoforms what I can not solve with forum posts or google, maybe because of the new V6.

I am upgrading from V4 to V6 and I want to send an email, to a dynamic address.

The field_name = emailadres, but when I put that in the CC field I get this in the debugger:
[cc] => Array
(
[0] => emailadres
)
Instead of 'emailadres' I expected the filled in email address from the form.
Question: How do I use dynamic email address in the email instance?

Also the filled in fields from the form are not getting into the mailbody:

<td><strong>Adres contactpersoon</strong></td>
<td>{adres_contactpersoon}</td>

where 'adres_contactpersoon' is the field name.
Question: How do I get the fields from the formfields into the emailbody?

Regards,
Eftie
Max_admin 24 Apr, 2017
Answer
1 Likes
Hi Eftie,

In order to get a field value any where in v6 you should use this syntax: {data:field_name}

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
eftie 24 Apr, 2017
It works now! Thank you.

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