Page 1 of 1

Contact Us Not work when use smtp mail

Posted: Sat Mar 05, 2016 1:34 pm
by bestariweb
When we use smtp mail, contact Us Form not working.

catalog/controller/information/contact.php:

Code: Select all

			$mail->setTo($this->config->get('config_email'));
			$mail->setFrom($this->request->post['email']);
that code will cause authority error.
To solve this problem, I change this code into:

Code: Select all

			$mail->setTo($this->config->get('config_email'));
			$mail->setFrom($this->config->get('config_email'));
			$mail->setReplyTo($this->request->post['email']);
it's work fine for me

Re: Contact Us Not work when use smtp mail

Posted: Sun Mar 06, 2016 2:07 am
by IP_CAM
More possible solutions and fixes for some OpenCart SMTP related Problems:

FREE SMTP FIX FOR OPENCART 2.0.2.0
http://www.opencart.com/index.php?route ... n_id=22107

System Library Mail FIX 1.5.6.x
http://www.opencart.com/index.php?route ... n_id=15312

contact us smtp debug 1.5 - 2.0.3.1
http://www.opencart.com/index.php?route ... n_id=22868

OC 2 Mail Mend 2.0.1.1
http://www.opencart.com/index.php?route ... on_id=2148

and more Fixes are here to find:
http://www.opencart.com/index.php?route ... mtp%20mail

just to mention it! ;)
Ernie
openshop.li