projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41e663c
)
NotifySend.php
author
Alan Knowles
<alan@roojs.com>
Thu, 8 Nov 2012 04:36:07 +0000
(12:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 8 Nov 2012 04:36:07 +0000
(12:36 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
b4a8d2a
..
d6124c0
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-349,7
+349,16
@@
class Pman_Core_NotifySend extends Pman
}
-
+ if (!empty($email['bcc'])) {
+ $mailer = Mail::factory('smtp', array(
+ //'host' => $dom ,
+ // 'debug' => true
+ ));
+ $email['headers']['Subject'] = "(CC): " . $email['headers']['Subject'];
+ $mailer->send($email['bcc'],
+ $email['headers'], $email['body']);
+
+ }
die(date('Y-m-d h:i:s') . " - SENT\n");