From: edward Date: Mon, 26 Mar 2018 06:04:02 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=009b21a43666a1ebd1000d71ff909bd9e349b087 Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 7e4e80e8..00950c3e 100644 --- a/Mailer.php +++ b/Mailer.php @@ -87,7 +87,6 @@ class Pman_Core_Mailer { var $bcc = false; function __construct($args) { - print_R($args);exit; foreach($args as $k=>$v) { // a bit trusting.. $this->$k = $v; @@ -180,7 +179,7 @@ class Pman_Core_Mailer { if ($this->css_embed) { $htmlbody = $this->htmlbodyCssEmbed($htmlbody); } - print_R($this);exit; + if ($this->css_inline && strlen($this->css_inline)) { $htmlbody = $this->htmlbodyInlineCss($htmlbody); }