Page 1 of 1

Email BCC

Posted: Fri May 20, 2016 10:51 pm
by straightlight
This contribution allows merchants to send BCC emails from the original Mail() class from OC.

Simply upload the XML file. Then, the:

Code: Select all

$mail->setBcc(explode(',', $this->config->get('config_mail_alert'))); 
can be placed right below the: '$mail->setSender' line in each appropriate paragraph.

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)) {
can be removed.

Take note that SMTP Auth is not compatible with this contribution.

Contribution: ... n_id=26735