Edwin, its not really going to be possible to offer you much by way of focused assistance without being able to see the page in question. I don’t think you even mentioned which form package/solution you are using…
Can you please supply a link to the problematic page?
@coittech Yes, we need your URL. And if you have removed your form because it is not working, I suggest you put it up again with a notice to say it is currently being tested.
PHP 5.5 is obsolete and unsupported. It is dangerous to use PHP 5 on a public facing website. Hackers and other nasties can get-in through unpatched vulnerabilities.
You’ll note from the web link I gave you that even PHP 7.1 is reaching ‘end of life’. Support for that version ended back in December. Updates for that version of PHP end in less-than 12 months time.
You should push your hosting company to give you PHP 7.2 or 7.3. Each version brings new features and enhancements, which can sometimes help you resolve problems.
Additionally the hosting company should be able to direct you to where the error logs are. Each time the form fails to work or the email is not sent, the details of the problem are normally recorded somewhere. That will provide instant information towards finding the fault.
That all looks ok. Time to look at the back end.
What email address are you using to send the email ‘from’ is it an account based on the same domain as the script is being hosted from? It probably needs to be.
As Will says, the logs would be a good place to check next,
So 24 hours after posting my contact form link on this forum, it is now being slammed with spam. Never happened in previous 5 years with previous contact form…
So I guess the spammers stalk this forum… time to redo the whole thing… man I hate spam/spammers…
Who doesn’t? Other spammers I suppose. What I hate are all the phoney ransomware demands I get, not that REAL ransomware threats wouldn’t be worse, although these phoney ones are so unconvincing it’s insulting!