This mod requires vqmod to function. You can get it at http://www.vqmod.com
This mod replaces the send function of the mail class with a wrapper for phpmailer. It may or may not solve problems that people have with the mail system. Give it a try and let me know how it goes. This is a free mod and uses vqmod to implement the changes, so you can revert very quickly if it does not work properly.
To use with google mail use the following settings
Mail Protocol: SMTP
SMTP Host: smtp.googlemail.com
SMTP Username: your full gmail address blah@gmail.com
SMTP Password: your gmail password
SMTP Port: 587
When using SMTP it uses TLS for port 587 and SSL for port 465
mail protocol setting of mail uses php mail() function.
This mod has not had extensive testing. It's only been tested in a few configurations, and is currently only for 1.5.1.3.
If it seems to help people and there is demand I may backport it to other versions.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
if you are using the native phpMailer class I can confirm you that it solves all problems OpenCart has with his own built mailclass.
I am using phpMailer now since more than a year in my modufied OpenCart version OCIE and had (and having) not one missed or false or as spam marked email.
My clients too.
The standard OC-mailclass should be repaced with this.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I really only did this because I just got through doing a bunch of work with phpmailer for a custom project I am working on and figured I would take a few minutes to cram it into opencart since I know I see people having problems on a semi-regular basis.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
And it works also with OpenCart 1.4.x - to use it with those versions you have to adopt your script.
And it works also with SMTP.
What would be fine if your script could handle also the additonal settings phpMailer has.
Optionally using them is a fine thing and could help in some situations.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Warning: fsockopen() [function.fsockopen]: unable to connect to smtp.googlemail.com:587 (Connection timed out) in /home4/xxx/public_html/xxx/system/library/phpmailer/class.smtp.php on line 135SMTP Error: Could not connect to SMTP host. Warning: Cannot modify header information - headers already sent by (output started at /home4/xxx/public_html/xxx/index.php:104) in /home4/xxx/public_html/xxx/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home4/xxx/public_html/xxx/index.php:104) in /home4/xxx/public_html/xxx/vqmod/vqcache/vq2-system_engine_controller.php on line 29
you have to change the encoding inside the file 'class.phpmailer.php' from iso-8859-1 to utf-8.
Or edit the xml.file search for
Code: Select all
$mail = new PHPMailer();
Code: Select all
$mail->CharSet = 'utf-8';
Otherwise you (your costumers) will recieve 'fancy' emails.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
PHP Notice: Array to string conversion in /home4/xxxx/public_html/system/library/phpmailer/class.phpmailer.php on line 1466

I am using OC 1.5.1
Any Help please
Users browsing this forum: No registered users and 7 guests