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

index 7c54794..596ff9c 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());
         }