Email BCC
Posted: Fri May 20, 2016 10:51 pm
This contribution allows merchants to send BCC emails from the original Mail() class from OC.
Simply upload the XML file. Then, the:
can be placed right below the: '$mail->setSender' line in each appropriate paragraph.
Then, each:
can be removed.
Take note that SMTP Auth is not compatible with this contribution.
Contribution: http://www.opencart.com/index.php?route ... n_id=26735
Simply upload the XML file. Then, the:
Code: Select all
$mail->setBcc(explode(',', $this->config->get('config_mail_alert')));
Then, each:
Code: Select all
// Send to additional alert emails
$emails = explode(',', $this->config->get('config_mail_alert'));
foreach ($emails as $email) {
if ($email && filter_var($email, FILTER_VALIDATE_EMAIL)) {
$mail->setTo($email);
$mail->send();
}
}
Take note that SMTP Auth is not compatible with this contribution.
Contribution: http://www.opencart.com/index.php?route ... n_id=26735