Forums

email only functions when debug is enabled

Antonie 02 Jul, 2013
Hi,

I have made a form with Chronoforms for uploading photographs and some information of the photographer. That functions well, but there is a problem with sending a thanks-mail. Email is only sent when the debugger is active. When the debugger is removed, then the email isn't sent any more. Can somebody help me to solve this problem??

Antonie
GreyHead 04 Jul, 2013
Hi Antoine,

I can't think of any obvious explnanation. Please submit the form and post the debug - including the 'dummy emails' results here.

Bob
Antonie 07 Jul, 2013
Hi Bob, thank you for your reaction.
Here the information from debugger, I hope it helps you in finding the cause op the problem.

Antonie


>>
Data Array:
Array
(
[chronoform] => inschrijvingfotowedstrijd2013
[event] => submit
[Itemid] => 616
[option] => com_chronoforms
[view] => form
[naam] => aas
[gebdat] => aas
[email] => [email]avdstaak48@gmail.com[/email]
[foto] => 20130707134311_Tegelespreuk 1.jpg
[titel] => aas
[locatie] => aas
[chrono_verification] => cpahw
[versturen] => Versturen
[21c18bb512cb977549581ed1572bf9f4] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[foto] => Array
(
[name] => 20130707134311_Tegelespreuk 1.jpg
[original_name] => Tegelespreuk 1.jpg
[path] => /home/rooiscultureelerfgoed.nl/public_html/components/com_chronoforms/uploads/inschrijvingfotowedstrijd2013/20130707134311_Tegelespreuk 1.jpg
[size] => 2036235
[link] => http://www.rooiscultureelerfgoed.nl/components/com_chronoforms/uploads/inschrijvingfotowedstrijd2013/20130707134311_Tegelespreuk 1.jpg
)

)

)

[chronoform_data] => Array
(
[cf_uid] => f7bf01c60b67d723d4a0ec7f443280c1
[cf_created] => 2013-07-07 13:43:11
[cf_created_by] => 43
[cf_ipaddress] => 178.84.198.164
[cf_user_id] => 43
[chronoform] => inschrijvingfotowedstrijd2013
[event] => submit
[Itemid] => 616
[option] => com_chronoforms
[view] => form
[naam] => aas
[gebdat] => aas
[email] => [email]avdstaak48@gmail.com[/email]
[foto] => 20130707134311_Tegelespreuk 1.jpg
[titel] => aas
[locatie] => aas
[chrono_verification] => cpahw
[versturen] => Versturen
[21c18bb512cb977549581ed1572bf9f4] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[foto] => Array
(
[name] => 20130707134311_Tegelespreuk 1.jpg
[original_name] => Tegelespreuk 1.jpg
[path] => /home/rooiscultureelerfgoed.nl/public_html/components/com_chronoforms/uploads/inschrijvingfotowedstrijd2013/20130707134311_Tegelespreuk 1.jpg
[size] => 2036235
[link] => http://www.rooiscultureelerfgoed.nl/components/com_chronoforms/uploads/inschrijvingfotowedstrijd2013/20130707134311_Tegelespreuk 1.jpg
)

)

)

[cf_id] => 35
)

[chronoform_data_cf_id] => 35
)

Validation Errors:
Array
(
)


Debug Data 1. Upload routine started for file upload by : foto
2. /home/rooiscultureelerfgoed.nl/public_html/components/com_chronoforms/uploads/inschrijvingfotowedstrijd2013/20130707134311_Tegelespreuk 1.jpg has been uploaded successfully.
3.
Core Captcha 1. Passed the core captcha check!

4.
redirect_user 1. redirect_user_target_url: 122-bedankt
2. Redirect URL (click to continue):
122-bedankt

5.
email 1.
16 1.
ResultAn email has been SENT successfully from (aas)avdstaak48@gmail.com to [email]admin@rooiscultureelerfgoed.nl[/email],avdstaak@hotmail.com

2.
Body

Deelnameformulier Fotowedstrijd RCE 2013

Naam aas
Geboortedatum aas
E-mail adres [email]avdstaak48@gmail.com[/email]
Voeg een foto toe 20130707134311_Tegelespreuk 1.jpg
Titel van de foto aas
Locatie van de opname aas
Door het insturen van een foto verklaart u zich accoord met de voorwaarden voor deelname aan de Fotowedstrijd RCE 2013.
Vul de code in cpahw

3.
Attachmentsarray ( 0 => '/home/rooiscultureelerfgoed.nl/public_html/components/com_chronoforms/uploads/inschrijvingfotowedstrijd2013/20130707134311_Tegelespreuk 1.jpg', )


2.
11 1.
ResultAn email has been SENT successfully from (Bestuur RCE)admin@rooiscultureelerfgoed.nl to [email]avdstaak48@gmail.com[/email]

2.
Body

Deelnameformulier Fotowedstrijd RCE 2013

Naam aas
Geboortedatum aas
E-mail adres [email]avdstaak48@gmail.com[/email]
Voeg een foto toe 20130707134311_Tegelespreuk 1.jpg
Titel van de foto aas
Locatie van de opname aas
Door het insturen van een foto verklaart u zich accoord met de voorwaarden voor deelname aan de Fotowedstrijd RCE 2013.
Vul de code in cpahw

3.
Attachmentsarray ( )

<<


Powered By ChronoForms - ChronoEngine.com
GreyHead 07 Jul, 2013
Hi Antoine,

It looks as though you have the ReDirect User action **before** the Email action. So the user is redirected and ChronoForms loses control of the process before the email is sent. Move the ReDirect User action to be the last in the event.

Bob
Antonie 07 Jul, 2013
Thank you very much, Bob. Moving the Redirect User action to the end, the problem is solved: the email is sent now!

Kind regards,
Antonie
This topic is locked and no more replies can be posted.