return $mail;
}
$rcpts = $this->rcpts == false ? $email['recipents'] : $this->rcpts;
- print_r($this->contents['bcc']);exit;
+
if (!empty($this->contents['bcc']) && is_array($this->contents['bcc'])) {
$rcpts =array_merge(is_array($rcpts) ? $rcpts : array($rcpts), $this->contents['bcc']);
}