PHPMailer Integration - by @cansei_vendi

PHPMailer Integration - by @cansei_vendi
Use PHPMailer to send emails from the store.

The standard email module does not work with all services, use this extension to resolve this issue.

Installation

  • Download the ZIP;
  • Install the extension using the OpenCart installer;
  • Update opencart modifications;
  • Ready to use.


Using

  • In manage stores, click on edit your store;
  • In the E-mail section, change the Library to PHPMailer;
  • Configure the other fields;
  • Ready to use.


Add blind carbon copy

Example:

$mail = new Mail($this->config->get('config_mail_engine'));
$mail->parameter = $this->config->get('config_mail_parameter');
$mail->smtp_hostname = $this->config->get('config_mail_smtp_hostname');
$mail->smtp_username = $this->config->get('config_mail_smtp_username');
$mail->smtp_password = html_entity_decode($this->config->get('config_mail_smtp_password'), ENT_QUOTES, 'UTF-8');
$mail->smtp_port = $this->config->get('config_mail_smtp_port');
$mail->smtp_timeout = $this->config->get('config_mail_smtp_timeout');

$mail->setTo($order_info['email']);
$mail->setFrom($from);

$mail->addBCC('bcc@canseivendi.com.br');
$mail->addBCC('bcc2@canseivendi.com.br');


$mail->setSender(html_entity_decode($order_info['store_name'], ENT_QUOTES, 'UTF-8'));
$mail->setSubject(html_entity_decode(sprintf($language->get('text_subject'), $order_info['store_name'], $order_info['order_id']), ENT_QUOTES, 'UTF-8'));
$mail->setHtml($this->load->view('mail/order_edit', $data));
$mail->send();

What customers say about PHPMailer Integration - by @cansei_vendi

Cohen prints
after setting the store mail to php mailer , it does not work still, do i need to do the blind carbon copy too? (I even dont understand what it is ) and if i need to add this code somewhere , can you tell me exactly where ?
~Cohen prints
djewell
Creator did not provide support, opencart looked at it and told me that it didn’t work and to call my internet company. (Additionally no help)
~djewell
jdiai
10 stars!!!! if you have issues making your domain email send mails from your oc store, customers also receive emails for orders, password reset and all emails in general. this exensions helps! used on oc 3.0.3.7
~jdiai




Download
  • Developed by OpenCart Community
  • Documentation Included

Rating

Compatibility
3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8

Last Update
22 Jun 2022

Created
19 Jun 2020
1730 Downloads
22 Comments
Decolip
Decolip
Member since: 17 Jun 2015

View all extensions Get Support