Hello,
My form is working but when I want to received the data by email I get blank email
In the setup for the email I have :
Enabled : YES
To : contact@mydomainename.com
Subject : test
From name : admin
From email : contact@mydomainename.com
email format HTML
Template generation auto
Email Template :
but I get blank email
what did I setup wrong ?
Thanks in advance for your help
My form is working but when I want to received the data by email I get blank email
In the setup for the email I have :
Enabled : YES
To : contact@mydomainename.com
Subject : test
From name : admin
From email : contact@mydomainename.com
email format HTML
Template generation auto
Email Template :
<table>
<tr><td>Votre pseudo</td><td>{pseudo}</td></tr>
<tr><td>Votre sexe</td><td>{sexe}</td></tr>
<tr><td>Votre âge</td><td>{age}</td></tr>
<tr><td>Votre témoignage</td><td>{temoignage}</td></tr>
</table>
but I get blank email
what did I setup wrong ?
Thanks in advance for your help
Hello moi34,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
Why is there JavaScript code in the Email field?
How do I send an email to the user?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
Why is there JavaScript code in the Email field?
How do I send an email to the user?
P.S: I'm just an automated service😉
Hi moi34,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Hello GreyHead,
Here what I get with the debugger
Not sure to understand "dummy email" can you explain what you need.
Thanks for your help
Here what I get with the debugger
Data Array
Array
(
[chronoform] => temoignages
[event] => submit
[pseudo] => moi34
[sexe] => Array
(
[0] => Homme
)
[age] => 35
[temoignage] => here my message
[recaptcha_challenge_field] => 03AHJ_VuuAx14TiCyPSJF80m0ST77Vdtf-pvTqwV34x3IPD7Pes5_XuYRCnhyPUOkNBlE9AXH4dzZgK3XzrxsrlfqYNbGHWfOU99llWrS5TSCzSaeXlLYmaLsq23oFBDVEJF8rcPi5dGcXQSz7r7QNZPA4YMsTKVZGKfbU5JbW4C47K98EyiaPgY7lyZJIVR51kerJZ2sBAog_
[recaptcha_response_field] => utlarge carrying
[button5] => Envoyer
[Itemid] => 889
[temoignages] =>
[ip_address] => 127.0.0.1
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
[3] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:contact@conseil.com
[2] => Subject:Votre témoignage
[3] => From name:Temoignage
[4] => From email:contact@conseil.com
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Body:
<table>
<tr><td>Votre pseudo</td><td>moi34</td></tr>
<tr><td>Votre sexe</td><td>array (
0 => 'Homme',
)</td></tr>
<tr><td>Votre âge</td><td>35</td></tr>
<tr><td>Votre témoignage</td><td>here my message</td></tr>
<tr><td>Recopier le Code </td><td></td></tr>
</table>
IP: 127.0.0.1
)
)
)
Not sure to understand "dummy email" can you explain what you need.
Thanks for your help
Hi,
The IP is "127.0.0.1", are you testing this on your local machine ? maybe this has a problem somewhere, because the debug looks ok, please try on a live website and let us know!
Regards,
Max
The IP is "127.0.0.1", are you testing this on your local machine ? maybe this has a problem somewhere, because the debug looks ok, please try on a live website and let us know!
Regards,
Max
Also the "sexe" field is multi choice, it should not, try to use a "Radio box" instead!
Hi moi34,
The 'dummy email ' is this bit of the debugger output. You can see there that the submitted data has been included.
I would expect the email you receive to be identical to this.
As Max said, you need to fix the 'sexe' input.
Bob
The 'dummy email ' is this bit of the debugger output. You can see there that the submitted data has been included.
<table>
<tr><td>Votre pseudo</td><td>moi34</td></tr>
<tr><td>Votre sexe</td><td>array (
0 => 'Homme',
)</td></tr>
<tr><td>Votre âge</td><td>35</td></tr>
<tr><td>Votre témoignage</td><td>here my message</td></tr>
<tr><td>Recopier le Code </td><td></td></tr>
</table>,
I would expect the email you receive to be identical to this.
As Max said, you need to fix the 'sexe' input.
Bob
Hello Bob, Hello Max,
I've tried my forms on live website and now I don't have any blank email anymore.
However I don't get your advice about radio box for the "sexe" field
it is actually a radio box but maybe I set it up badly
Thanks
I've tried my forms on live website and now I don't have any blank email anymore.
However I don't get your advice about radio box for the "sexe" field
it is actually a radio box but maybe I set it up badly
Field Name : sexe[]
Field ID : radio2
Options : Femme=Femme
Homme=Homme
Thanks
Hi moi34,
Please remove the [] from the input name, that is only needed for inputs that allow multiple selections like checkbox groups and multi-select drop-downs.
Bob
Please remove the [] from the input name, that is only needed for inputs that allow multiple selections like checkbox groups and multi-select drop-downs.
Bob
This topic is locked and no more replies can be posted.