Mailer.php
authoredward <edward@roojs.com>
Wed, 7 Jun 2017 09:22:27 +0000 (17:22 +0800)
committeredward <edward@roojs.com>
Wed, 7 Jun 2017 09:22:27 +0000 (17:22 +0800)
Mailer.php

index 596ff9c..7c54794 100644 (file)
@@ -361,10 +361,10 @@ class Pman_Core_Mailer {
         $ret = $mail->send($rcpts,$email['headers'],$email['body']);
         error_reporting($oe);
         if ($ret === true) { 
-            $pg->addEvent("COREMAILER-SENT",  false,
-                'To: ' .  ( is_array($rcpts) ? implode(', ', $rcpts) : $rcpts ) .
-                'Subject: '  . @$email['headers']['Subject']
-            ); 
+//            $pg->addEvent("COREMAILER-SENT",  false,
+//                'To: ' .  ( is_array($rcpts) ? implode(', ', $rcpts) : $rcpts ) .
+//                'Subject: '  . @$email['headers']['Subject']
+//            ); 
         }  else {
             $pg->addEvent("COREMAILER-FAIL",  false, $ret->toString());
         }