projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58e7ef
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 04:14:43 +0000
(12:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 04:14:43 +0000
(12:14 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
743479d
..
07db5d2
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-201,6
+201,11
@@
class Pman_Core_Mailer {
return $mail;
}
$rcpts = $this->rcpts == false ? $email['recipents'] : $this->rcpts;
+
+ if (!empty($this->contents->bcc) && is_array($this->contents->bcc)) {
+ $rcpts =array_merge($rcpts, $this->contents->bcc);
+ }
+
$oe = error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
$ret = $mail->send($rcpts,$email['headers'],$email['body']);
error_reporting($oe);