Email contact form does not submit on first try

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
cnikolajsen
Posts: 3
Joined: Thu 20. Jan 2005, 11:16
Location: Denmark

Email contact form does not submit on first try

Post by cnikolajsen »

Hi,

I have set up a contact form on a clients website, and they have started to report problems with not receiving the emails when the form is submitted.

I've never myself experienced this problem.
At one time I remote controlled the PC of a customer who had reported that the form she submitted was never received by the recipient of the contact form (the owner of the site). But I could not reproduce the problem. I submitted the form via the customer's PC and my client received the email.

After more of these reports I've come to the conclusion that this error only occurs the first time the contact form is submitted from a certain computer, the second time there is no problem.

This is the setup of the form fields

Code: Select all

IT|navn|1|Kontakt person: |40,100||300
IT|firma|0|Evt. Firmanavn: |40,100||300
IT|cvr|0|Evt. CVR-nr.: |40,100||125
IT|address1|1|Adresse 1: |40,100||300
IT|address2|0|Adresse 2: |40,100||300
IT|postnr|1|Post nr. & By: |40,100||300
IT|telefon|1|Telefon: |40,100||300
IT|email|1|E-mail: |40,100||300
TA|levering adr|0|Evt. anden lev. adr.: |20,5||300
TA|bemærkninger|0|Bemærkninger til ordre: |20,4||300
IN|antal|0|Antal stk.: |20,4||30
IH|redirect|0||10,100|http://www.pc-translating.dk/index.php?okdk|0
IH|redirect_error|0||10,100|http://www.pc-translating.dk/index.php?errodk|0
Anybody seen/heard off this before?
Christian Nikolajsen
Nikolajsen NET ApS
kabuki
Posts: 2
Joined: Mon 20. Mar 2006, 16:11

Post by kabuki »

Hello,

Same problem here.

I also created a form today and I first tested it myself. I never got an email back. From the second time on it worked perfectly.

Seems it never works the first time.

But I've got no clue on how to fix it.

regards,
Steve

edit: using phpwcms v1.2.5-DEV
kabuki
Posts: 2
Joined: Mon 20. Mar 2006, 16:11

Post by kabuki »

I solved my problem now.

I changed from default mail config to smtp and now it seems to work always the first time (tested on 3 different machines).

Hope this works also out for you

steve
Locked