projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8122137
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Thu, 10 Dec 2015 07:28:38 +0000
(15:28 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 10 Dec 2015 07:28:38 +0000
(15:28 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
efd872c
..
88f651a
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-294,6
+294,9
@@
class Pman_Core_Mailer {
$ret['recipents'] = $this->rcpts;
}
+ if (empty($ret['headers']['To']])) {
+ $ret['headers']['To'] = implode(',', $ret['recipents']);
+ }
// add bcc if necessary..