Mailer.php
authorEdward <edward@roojs.com>
Tue, 5 Aug 2014 04:25:54 +0000 (12:25 +0800)
committerEdward <edward@roojs.com>
Tue, 5 Aug 2014 04:25:54 +0000 (12:25 +0800)
Mailer.php

index 436a0d5..dd30811 100644 (file)
@@ -291,9 +291,10 @@ class Pman_Core_Mailer {
         if (!empty($this->contents['bcc']) && is_array($this->contents['bcc'])) {
             $rcpts =array_merge(is_array($rcpts) ? $rcpts : array($rcpts), $this->contents['bcc']);
         }
-        print_r($rcpts);exit;
+        
         $oe = error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
         $ret = $mail->send($rcpts,$email['headers'],$email['body']);
+        print_r($ret);exit;
         error_reporting($oe);
         if ($ret === true) { 
             $pg->addEvent("COREMAILER-SENT",  false,