OpenCart Contact Us form not working

Status
Not open for further replies.

mostx10h

New Member
Messages
1
Reaction score
0
Points
1
I am attempting to install a working OpenCart config with free hosting. Everything seems to be working as it should with the exception of the Contact Us form. After hitting the submit button it shows that the"enquiry has been sent" but I never receive the enquiry.

I tried both a manual installation of version 2.0.1.1 and version 1.5 which was supplied through Softaculous Both versions gave the same result.

I've gone through this forumas well as Opencart's and tried several other things including a "newline" modification in the mail.php file. Tried SMTP and Mail settings. In all cases, other emails (i.e. newsletters going out, new account notifications, etc.) seem to work fine. Only problem is the contact form -- always says that it sent, never receive an email or the info in the contact form.

Any idea what may be causing this and how to fix it?
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
It's very likely that the form is trying to set the email FROM header to the user's email address. x10Hosting doesn't allow that (it's called "Spoofing"); all mail sent must originate from a valid email address belonging to the hosting account. You can set the REPLY-TO header in order to make conversation with the user easier, but the script needs to set FROM to an address you own.
 
Status
Not open for further replies.
Top