Post by bestariweb » Sat Mar 05, 2016 1:34 pm

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

Newbie

Posts

Joined
Sat Mar 05, 2016 1:27 pm

Post by IP_CAM » Sun Mar 06, 2016 2:07 am

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

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 5 guests