X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=MessagePreview.php;h=f59cde177e0f2f376661919f83a9a373777494a8;hp=3a40e540ec0b040d486ac35d66618ad1c01a468f;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=4479114691b2d905574b805b9766960a0abe71fd diff --git a/MessagePreview.php b/MessagePreview.php index 3a40e540..f59cde17 100644 --- a/MessagePreview.php +++ b/MessagePreview.php @@ -99,8 +99,6 @@ class Pman_Core_MessagePreview extends Pman $this->jerr("[{$core_email->name}] does not has test class"); } - print_r($core_email);exit; - require_once "{$core_email->test_class}.php"; $cls = str_replace('/', '_', $core_email->test_class); @@ -115,6 +113,8 @@ class Pman_Core_MessagePreview extends Pman $content = $x->{$method}($this, $this->authUser); + $content['bcc'] = array(); + $sent = $core_email->send($content); if(is_object($sent)){