diff --git a/libraries/phpmailer_email.php b/libraries/phpmailer_email.php index a001e61..1653820 100644 --- a/libraries/phpmailer_email.php +++ b/libraries/phpmailer_email.php @@ -194,7 +194,17 @@ function send() $this->_phpm->addAddress($to); } - // cc/bcc + // cc + foreach($this->_recipients['cc'] as $cc) + { + $this->_phpm->addCC($cc); + } + + // bcc + foreach($this->_recipients['bcc'] as $bcc) + { + $this->_phpm->addBCC($bcc); + } // Content $this->_phpm->Body = $this->_message['body_html'];