I made a reservation form for a restaurant. The mail to the restaurant is send three times instead of only once.
I made several forms, but this is the first time this occurred.
Any idea what this can be?
I made several forms, but this is the first time this occurred.
Any idea what this can be?
Hello croonhb,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How to send an Email dynamically
How do I send an email to an admin?
How do I send an email to the user?
How can I send an email to different addresses?
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:
How to send an Email dynamically
How do I send an email to an admin?
How do I send an email to the user?
How can I send an email to different addresses?
P.S: I'm just an automated service😉
Hi croonhb,
Hard to say - the debugger output might help. Do you have all three email actions enabled - that might do it?
Bob
Hard to say - the debugger output might help. Do you have all three email actions enabled - that might do it?
Bob
Bob,
Sorry for not answering before but I was out .
I send you the debugger output.
Can you explain what you mean with all three email actions?
I have two emails one to the restaurant for the reservation and one to the sender as confirmation.
The starnge thing is, when I fill in the form and send it. There is only one mail send. When a customer fills in the form and send it three mails are send.
Sorry the text is in Dutch.
Regards
Huib
No errors.
Data Array
Sorry for not answering before but I was out .
I send you the debugger output.
Can you explain what you mean with all three email actions?
I have two emails one to the restaurant for the reservation and one to the sender as confirmation.
The starnge thing is, when I fill in the form and send it. There is only one mail send. When a customer fills in the form and send it three mails are send.
Sorry the text is in Dutch.
Regards
Huib
No errors.
Data Array
Array
(
[chronoform] => Reservering
[event] => submit
[naam] => Huib Croon
[email] => Huib.croon@gmail.com
[gevonden] => Internet
[aantal] => 1
[datum] => 19-02-2015
[tijd] => 10
[bericht] => test 5
[submit6] => Verzenden
[ip_address] => 188.204.251.14
)
Debug Info
Array
(
[1] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:ping.cao@si-chuan.nl
[2] => Subject:Reserveringsformulier
[3] => From name:Restaurant Si-Chuan
[4] => From email:Huib.croon@gmail.com
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
<h1>Reservering via de website</h1>
<table>
<tbody>
<tr>
<td>Naam:</td>
<td>Huib Croon</td>
</tr>
<tr>
<td>Email:</td>
<td>Huib.croon@gmail.com</td>
</tr>
<tr>
<td>Hoe heeft u ons gevonden:</td>
<td>Internet</td>
</tr>
<tr>
<td>Aantal personen:</td>
<td>1</td>
</tr>
<tr>
<td>Datum en tijd:</td>
<td>19-02-2015</td>
</tr>
<tr>
<td>Tijdstip</td>
<td>10</td>
</tr>
<tr>
<td>Uw bericht:</td>
<td>test 5</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
</tbody>
</table><br /><br />IP: 188.204.251.14
[12] => An email with the details below was sent successfully:
[13] => To:ping.cao@si-chuan.nl
[14] => Subject:Reserveringsformulier
[15] => From name:Restaurant Si-Chuan
[16] => From email:Huib.croon@gmail.com
[17] => CC:
[18] => BCC:
[19] => Reply name:
[20] => Reply email:
[21] => Attachments:
[22] => Array
(
)
[23] => Body:
<h1>Reservering via de website</h1>
<table>
<tbody>
<tr>
<td>Naam:</td>
<td>Huib Croon</td>
</tr>
<tr>
<td>Email:</td>
<td>Huib.croon@gmail.com</td>
</tr>
<tr>
<td>Hoe heeft u ons gevonden:</td>
<td>Internet</td>
</tr>
<tr>
<td>Aantal personen:</td>
<td>1</td>
</tr>
<tr>
<td>Datum en tijd:</td>
<td>19-02-2015</td>
</tr>
<tr>
<td>Tijdstip</td>
<td>10</td>
</tr>
<tr>
<td>Uw bericht:</td>
<td>test 5</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
</tbody>
</table><br /><br />IP: 188.204.251.14
)
)
[3] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:Huib.croon@gmail.com
[2] => Subject:Bedankt voor uw resrevering
[3] => From name:Restaurant Si-Chuan
[4] => From email:ping.cao@si-chuan.nl
[5] => CC:
[6] => BCC:
[7] => Reply name:naam
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
<p>Beste Huib Croon,</p>
<p>Wij hebben van u het onderstaande reservering ontvangen.</p>
<p>Â </p>
<table>
<tbody>
<tr>
<td>Naam:</td>
<td>Huib Croon</td>
</tr>
<tr>
<td>Email:</td>
<td>Huib.croon@gmail.com</td>
</tr>
<tr>
<td>Hoe heeft u ons gevonden:</td>
<td>Internet</td>
</tr>
<tr>
<td>Aantal personen:</td>
<td>1</td>
</tr>
<tr>
<td>Datum:</td>
<td>19-02-2015</td>
</tr>
<tr>
<td>Tijdstip:</td>
<td>10</td>
</tr>
<tr>
<td>Uw bericht:</td>
<td>test 5</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
</tbody>
</table>
<p>Â </p>
<p>Mocht deze reservering niet mogelijk zijn, dan komen wij zo spoedig mogelijk bij u terug met een alternatief.</p>
<p>Â </p>
<p>Restaurant Si-Chuan</p>
<p>Ping Cao</p><br /><br />IP: 188.204.251.14
[12] => An email with the details below was sent successfully:
[13] => To:Huib.croon@gmail.com
[14] => Subject:Bedankt voor uw resrevering
[15] => From name:Restaurant Si-Chuan
[16] => From email:ping.cao@si-chuan.nl
[17] => CC:
[18] => BCC:
[19] => Reply name:naam
[20] => Reply email:
[21] => Attachments:
[22] => Array
(
)
[23] => Body:
<p>Beste Huib Croon,</p>
<p>Wij hebben van u het onderstaande reservering ontvangen.</p>
<p>Â </p>
<table>
<tbody>
<tr>
<td>Naam:</td>
<td>Huib Croon</td>
</tr>
<tr>
<td>Email:</td>
<td>Huib.croon@gmail.com</td>
</tr>
<tr>
<td>Hoe heeft u ons gevonden:</td>
<td>Internet</td>
</tr>
<tr>
<td>Aantal personen:</td>
<td>1</td>
</tr>
<tr>
<td>Datum:</td>
<td>19-02-2015</td>
</tr>
<tr>
<td>Tijdstip:</td>
<td>10</td>
</tr>
<tr>
<td>Uw bericht:</td>
<td>test 5</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
</tbody>
</table>
<p>Â </p>
<p>Mocht deze reservering niet mogelijk zijn, dan komen wij zo spoedig mogelijk bij u terug met een alternatief.</p>
<p>Â </p>
<p>Restaurant Si-Chuan</p>
<p>Ping Cao</p><br /><br />IP: 188.204.251.14
)
)
)
Hi Huib,
The Debugger output is a bit odd in that the email body appears to include a copy of the email. Is there something in the email template that might explain that?
Bob
The Debugger output is a bit odd in that the email body appears to include a copy of the email. Is there something in the email template that might explain that?
Bob
Hi Bob,
I cannot find anything odd.
Maybe you can.
This is the template.
Regards
Huib
I cannot find anything odd.
Maybe you can.
This is the template.
<h1>Reservering via de website</h1>
<table>
<tbody>
<tr>
<td>Naam:</td>
<td>{naam}</td>
</tr>
<tr>
<td>Email:</td>
<td>{email}</td>
</tr>
<tr>
<td>Hoe heeft u ons gevonden:</td>
<td>{gevonden}</td>
</tr>
<tr>
<td>Aantal personen:</td>
<td>{aantal}</td>
</tr>
<tr>
<td>Datum en tijd:</td>
<td>{datum}</td>
</tr>
<tr>
<td>Tijdstip</td>
<td>{tijd}</td>
</tr>
<tr>
<td>Uw bericht:</td>
<td>{bericht}</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
</tr>
</tbody>
</table>
Regards
Huib
Hi Huib,
That looks OK to me. By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
That looks OK to me. By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Hi Huib,
The form appears to work OK if you use the Test Form link in the forms manager so I suspect that the problem is linked to the URLs created where you have the form in an article. As you appear to have the form in a module in an article I gave up at that point. This is just unnecessary complexity. I would suggest that you make the form a stand-alone page - or at the most use the ChronoForms plug-in in the article.
You also have both static and dynamic values set for some of the email options which might cause some problems.
I have changed the Relative URL setting to No but that didn't seem to make any difference.
Bob
PS I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.
The form appears to work OK if you use the Test Form link in the forms manager so I suspect that the problem is linked to the URLs created where you have the form in an article. As you appear to have the form in a module in an article I gave up at that point. This is just unnecessary complexity. I would suggest that you make the form a stand-alone page - or at the most use the ChronoForms plug-in in the article.
You also have both static and dynamic values set for some of the email options which might cause some problems.
I have changed the Relative URL setting to No but that didn't seem to make any difference.
Bob
PS I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.
This topic is locked and no more replies can be posted.