Hi,
I have a problem with the contact form not working. In the frontend I can fill it in and it appears to work fine and says "Your enquiry has been successfully sent to the store owner!". Unfortunately in never arrives.
I purchased a manual and it was comprehensive but no details at all on configuring the contact form. I have tried various things but I seem to be guessing at the correct settings. Whatever I do I just can't make it work, account registration and new order confirmations work fine.
I've tried SMTP & Mail options with various settings all from this forum but alas nothing works. I've tried single and multiple email addressses separated with a comma(no spaces). I've tried the -f option with a valid sent from address both in upper and lowercase. SMTP settings with correct details and various different ports.
Can somebody either tell me exactly what to put in what box or point me towards a manual that gives the correct information/options. I understand mail configuration but this is beyond me and many others too looking at the forum.
I don't see it listed as a bug so I can only presume that it is server/operator specific and once I get the correct settings it will be fine.
Any help would be much appreciated.
Regards
Dandy
PS - I have now found this information http://www.opencart.com/index.php?route ... th=78_9_10
Mail Tab
Mail Protocol
Leave at 'Mail' UNLESS your host has disabled the php mail function.
Mail Parameters
When using 'Mail', additional mail parameters can be added here (e.g. "-femail@storeaddress.com".
SMTP Host
If your host requires you to use SMTP mail, get this from your web host.
SMTP Username
If your host requires you to use SMTP mail, get this from your web host.
SMTP Password
If your host requires you to use SMTP mail, get this from your web host.
SMTP Port
If your host requires you to use SMTP mail, get this from your web host.
SMTP Timeout
If your host requires you to use SMTP mail, get this from your web host.
New Order Alert Mail
Send a email to the store owner when a new order is created. Yes No
New Account Alert Mail
Send a email to the store owner when a new account is registered. Yes No
Additional Alert E-Mails
Any additional emails you want to receive the alert email, in addition to the main store email. (comma separated)
Still no help though.
I have a problem with the contact form not working. In the frontend I can fill it in and it appears to work fine and says "Your enquiry has been successfully sent to the store owner!". Unfortunately in never arrives.
I purchased a manual and it was comprehensive but no details at all on configuring the contact form. I have tried various things but I seem to be guessing at the correct settings. Whatever I do I just can't make it work, account registration and new order confirmations work fine.
I've tried SMTP & Mail options with various settings all from this forum but alas nothing works. I've tried single and multiple email addressses separated with a comma(no spaces). I've tried the -f option with a valid sent from address both in upper and lowercase. SMTP settings with correct details and various different ports.
Can somebody either tell me exactly what to put in what box or point me towards a manual that gives the correct information/options. I understand mail configuration but this is beyond me and many others too looking at the forum.
I don't see it listed as a bug so I can only presume that it is server/operator specific and once I get the correct settings it will be fine.
Any help would be much appreciated.
Regards
Dandy
PS - I have now found this information http://www.opencart.com/index.php?route ... th=78_9_10
Mail Tab
Mail Protocol
Leave at 'Mail' UNLESS your host has disabled the php mail function.
Mail Parameters
When using 'Mail', additional mail parameters can be added here (e.g. "-femail@storeaddress.com".
SMTP Host
If your host requires you to use SMTP mail, get this from your web host.
SMTP Username
If your host requires you to use SMTP mail, get this from your web host.
SMTP Password
If your host requires you to use SMTP mail, get this from your web host.
SMTP Port
If your host requires you to use SMTP mail, get this from your web host.
SMTP Timeout
If your host requires you to use SMTP mail, get this from your web host.
New Order Alert Mail
Send a email to the store owner when a new order is created. Yes No
New Account Alert Mail
Send a email to the store owner when a new account is registered. Yes No
Additional Alert E-Mails
Any additional emails you want to receive the alert email, in addition to the main store email. (comma separated)
Still no help though.
Please note that there is an update to mail.php in 1.5.2 see notes below
OpenCart 1.5.2 Released
by Daniel » Sat Mar 03, 2012 8:04 am
FIXED:
Just about everything that was wrong with 1.5.1.3
Fixed a bug that stopped emails being sent on some systems.
For the full article please see
http://forum.opencart.com/viewtopic.php?f=2&t=54923
I have not yet installed or tested but plan to do so soon - I'll report back when testing is complete.
OpenCart 1.5.2 Released
by Daniel » Sat Mar 03, 2012 8:04 am
FIXED:
Just about everything that was wrong with 1.5.1.3
Fixed a bug that stopped emails being sent on some systems.
For the full article please see
http://forum.opencart.com/viewtopic.php?f=2&t=54923
I have not yet installed or tested but plan to do so soon - I'll report back when testing is complete.
I was having the same issue with 1.5.1.3 and after seeing "Fixed a bug that stopped emails being sent on some systems." in the 1.5.2 released notes I upgraded to 1.5.2.1 assuming this would fix it. It didn't.
Like you, the emails are coming through for orders and when people register, it is just the contact form that doesn't work.
My host is Arvixe, if that is likely to make any difference.
Can anyone help?
Like you, the emails are coming through for orders and when people register, it is just the contact form that doesn't work.
My host is Arvixe, if that is likely to make any difference.
Can anyone help?
Anyone figure this out? I too have a problem with the email not functioning right. I can be emailed via the "contact us" option but I am not receiving emails when a customer registers or places an order like i was just a few weeks ago. Also, customers are not receiving any emails when using the "forgot password" option and I the Newsletter doesn't work at all.
I have been posting on here for weeks to no avail and also working with a web developer that can't figure it out either. Its been real frustrating to say the least.
I have been posting on here for weeks to no avail and also working with a web developer that can't figure it out either. Its been real frustrating to say the least.
This problem drove me nuts. I finally fixed it. I turned that my webhost (namecheap) has a SPAM filter that blocks any emails that are sent out with a foreign domain name. I was using my domain name in OC, but the SPAM filter could not handle the UTF-8 php code in the system/library/mail.php file. I fixed it by hardcoding the "From" field:
//$header .= 'From: ' . '=?UTF-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline;
// Namecheap*ss's SPAM filter can't handle the above generic UTF-8 code ...
$header .= 'From: noreply@mydomain.com' . $this->newline;
Hope this helps,
Phil
//$header .= 'From: ' . '=?UTF-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline;
// Namecheap*ss's SPAM filter can't handle the above generic UTF-8 code ...
$header .= 'From: noreply@mydomain.com' . $this->newline;
Hope this helps,
Phil
I have been having the same problem with the contact form since Saturday and the solution by islandsys has worked. Unfortunately by hardcoding the "From:" field I now no longer receive the email address of the customer using the contact form which slightly defeats the point.
Is there anyone who understands the php who could perhaps come up with a replacement line I could use that eliminates the UTF-8 problem but still forwards on the customers input email?
Thankyou in advance to all answers.
Is there anyone who understands the php who could perhaps come up with a replacement line I could use that eliminates the UTF-8 problem but still forwards on the customers input email?
Thankyou in advance to all answers.
I was having the same problem v 1.5.5.1 DreamHost
I tried the solution found here: http://stackoverflow.com/questions/1430 ... ntact-page, but that still did not work. So I used islandsys answer with some success.
On line 93 I changed
to
I used $_SERVER since I plan on using multi-store. It still worked on a secondary domain with just my main stores address, but I thought why not? Anyways, I now get the notifications to my hosted email address and a yahoo address, but nothing to my GMail address.
I tried the solution found here: http://stackoverflow.com/questions/1430 ... ntact-page, but that still did not work. So I used islandsys answer with some success.
Code: Select all
system/library/mail.php
Code: Select all
$header .= 'From: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
Code: Select all
//$header .= 'From: ' . $this->sender . '<' . $this->from . '>' . $this->newline;
$header .= 'From: noreply@' . $_SERVER['HTTP_HOST'] . $this->newline;
Hello All,
Contact Us form is not working because it tries to send the e-mail on behalf of the customer. You may be receiving a non delivery report containing the following:
Diagnostic-Code: smtp;550 5.7.1 Client does not have permissions to send as this sender
When a customer uses the Contact Us form, Opencart sends an e-mail on behalf of ie. customer@hotmail.com to info@yourstore.com. Your SMTP server rejects the message and returns a NDR because it is configured to deliver messages from yourstore.com.
Even if you configure relay for your SMTP server, you will be blacklisted for relaying.
The design of the OpenCart Contact Us form must be changed. The sender of the message should be ie. info@yourstore.com and the recipients of the message should be info@yourstore.com and customer@hotmail.com.
Best Regards
Contact Us form is not working because it tries to send the e-mail on behalf of the customer. You may be receiving a non delivery report containing the following:
Diagnostic-Code: smtp;550 5.7.1 Client does not have permissions to send as this sender
When a customer uses the Contact Us form, Opencart sends an e-mail on behalf of ie. customer@hotmail.com to info@yourstore.com. Your SMTP server rejects the message and returns a NDR because it is configured to deliver messages from yourstore.com.
Even if you configure relay for your SMTP server, you will be blacklisted for relaying.
The design of the OpenCart Contact Us form must be changed. The sender of the message should be ie. info@yourstore.com and the recipients of the message should be info@yourstore.com and customer@hotmail.com.
Best Regards
Try making the following change in catalog\controller\information\contact.php
//$mail->setFrom($this->request->post['email']);
$mail->setFrom($this->config->get('config_email'));
//$mail->setFrom($this->request->post['email']);
$mail->setFrom($this->config->get('config_email'));
If anybody is having same problem with 1.5.5, please put three or more than three email IDs in System/Settings/General tab/email field. AND also in MAIL tab, you need to fill in all SMTP details, BUT have to select MAIL instead of SMTP from dropdown. THIS worked perfectly for me. So I am guessing if anybody has this problem, TRY THIS. Hopefully it will solve that.
eg. email@domain.com, email2@domain.com, email3@domain.com
This solution was posted at
http://stackoverflow.com/questions/1430 ... ntact-page
eg. email@domain.com, email2@domain.com, email3@domain.com
This solution was posted at
http://stackoverflow.com/questions/1430 ... ntact-page
This is ridiculous, why does one of the most basic features of any site not work for so many people??? Tried jumping through the hoops above and no luck so far.
I am also working on this and it seems there are problems on the server. Opencart requires certain settings on the server, the following are listed from my settings:
Setting Required Server Status
PHP Version >= 5.0 5.3.26 Good
Safe Mode Off Off Good
Register Globals Off Off Good
Magic Quotes GPC Off On Bad
Session Auto Start Off Off Good
Allow Url Fopen On On Good
mCrypt On On Good
File Uploads On On Good
Cookies On On Good
Extensions Required Current Status
MySQL On On Good
GD On On Good
Curl On On Good
Fsock On On Good
Zip On On Good
Xml On On Good
As you can see the magic quotes are on and should be off. Check your server settings too, I have to get my host to change the settings as I can't do it manually. I am not sure if this will solve the problem. I think that Opencart is working, it is server dependant....
Setting Required Server Status
PHP Version >= 5.0 5.3.26 Good
Safe Mode Off Off Good
Register Globals Off Off Good
Magic Quotes GPC Off On Bad
Session Auto Start Off Off Good
Allow Url Fopen On On Good
mCrypt On On Good
File Uploads On On Good
Cookies On On Good
Extensions Required Current Status
MySQL On On Good
GD On On Good
Curl On On Good
Fsock On On Good
Zip On On Good
Xml On On Good
As you can see the magic quotes are on and should be off. Check your server settings too, I have to get my host to change the settings as I can't do it manually. I am not sure if this will solve the problem. I think that Opencart is working, it is server dependant....
This solved the problem for me. Thanks Phil.islandsys wrote:This problem drove me nuts. I finally fixed it. I turned that my webhost (namecheap) has a SPAM filter that blocks any emails that are sent out with a foreign domain name. I was using my domain name in OC, but the SPAM filter could not handle the UTF-8 php code in the system/library/mail.php file. I fixed it by hardcoding the "From" field:
//$header .= 'From: ' . '=?UTF-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline;
// Namecheap*ss's SPAM filter can't handle the above generic UTF-8 code ...
$header .= 'From: noreply@mydomain.com' . $this->newline;
Hope this helps,
Phil
OC 1.5.5.1
I downloaded version 1.5.6.4 earlier this year. The contact form must be the most frustrating and frankly anger creating part of opencart.
I am still configuring my website and I am enjoying opencart, however, as previously posted by others over the years, why oh why isn't the most basic but MOST important part of anyone's website NOT working!!
It is still not working with version 1.5.6.4. I have tried all the suggestions above and nothing works. I have configured and reconfigured in cpanel to no avail. My little fingers and brain are getting sore at all the attempts made to try and get email working.
Has anyone recently gotten email/contact form to work with version 1.5.6.4?????
Please, oh please, could this issue get resolved with opencart. I really do like opencart and have invested a lot of time with it. I really, really don't want to change at this point!!

I am still configuring my website and I am enjoying opencart, however, as previously posted by others over the years, why oh why isn't the most basic but MOST important part of anyone's website NOT working!!
It is still not working with version 1.5.6.4. I have tried all the suggestions above and nothing works. I have configured and reconfigured in cpanel to no avail. My little fingers and brain are getting sore at all the attempts made to try and get email working.
Has anyone recently gotten email/contact form to work with version 1.5.6.4?????
Please, oh please, could this issue get resolved with opencart. I really do like opencart and have invested a lot of time with it. I really, really don't want to change at this point!!



Unfortunately it still dont work on 2.0.3.1dorij wrote:I downloaded version 1.5.6.4 earlier this year. The contact form must be the most frustrating and frankly anger creating part of opencart.
I am still configuring my website and I am enjoying opencart, however, as previously posted by others over the years, why oh why isn't the most basic but MOST important part of anyone's website NOT working!!
It is still not working with version 1.5.6.4. I have tried all the suggestions above and nothing works. I have configured and reconfigured in cpanel to no avail. My little fingers and brain are getting sore at all the attempts made to try and get email working.
Has anyone recently gotten email/contact form to work with version 1.5.6.4?????
Please, oh please, could this issue get resolved with opencart. I really do like opencart and have invested a lot of time with it. I really, really don't want to change at this point!!![]()
![]()
I agree with you
The small things .... there is so many F*****S in opencart it has taken weeks/months to work through these issues which should not be there!
WTF opencart or openfart get your manure gathered and stop extracting the urine from Michael
Who is online
Users browsing this forum: No registered users and 92 guests