The auto email notification when a form is filled out from our website is not consistently being sent to either our email or the user's email entered on the form. Sometimes we receive an email, but other times it is not sent. However, the form info is all getting saved into the database. This would be okay, but the email that is sent to the user as a confirmation that the data was sent is not consistently working, and we're getting emails from customers asking if we received their order. And this is certainly undesired as we come across as looking unprofessional when this happens.
We need to find a fix for this so that the email is always being sent. I've done some testing and it seems that whenever the form is submitted after the user hasn't completed all necessary fields...and then goes back and fills in the fields they're prompted to....when they hit the submit button again after this, the email doesn't get sent (at least a couple times when I've tested this myself).
I've also seen that if the form is filled out after hitting the "back" button on the browser or "refresh", instead of arriving at the form as a brand new visitor....and then the form is filled out and submitted...this seems to produce the successful submission of the data to the database, but it doesn't send the automatic email notification to either us or the user.
I have consistently been able to get the email to send when filling out the form correctly the first time after arriving at the form as a new visitor. So I believe that the SMTP settings are correct. GoDaddy is our webhost. I've looked at the config.php file as suggested by some other forums, and that seems to be okay as far as I can tell.
Please advise on a potential solution to solve this issue.
Thanks,
Johnse