projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6610459
)
Mailer.php
author
edward
<edward@roojs.com>
Mon, 26 Mar 2018 09:03:08 +0000
(17:03 +0800)
committer
edward
<edward@roojs.com>
Mon, 26 Mar 2018 09:03:08 +0000
(17:03 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
d8ac81e
..
a2d29ad
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-86,6
+86,8
@@
class Pman_Core_Mailer {
var $bcc = false;
var $bcc = false;
+ var $body_cls = false;
+
function __construct($args) {
foreach($args as $k=>$v) {
// a bit trusting..
function __construct($args) {
foreach($args as $k=>$v) {
// a bit trusting..
@@
-169,7
+171,9
@@
class Pman_Core_Mailer {
// for the html body, we may want to convert the attachments to images.
// var_dump($htmlbody);exit;
// for the html body, we may want to convert the attachments to images.
// var_dump($htmlbody);exit;
-
+ if($content->body_cls && strlen($content->body_cls)){
+
+ }
if ($this->replaceImages) {
$htmlbody = $this->htmlbodytoCID($htmlbody);
if ($this->replaceImages) {
$htmlbody = $this->htmlbodytoCID($htmlbody);