Mailer.php
authorEdward <edward@roojs.com>
Mon, 23 Jul 2018 11:05:29 +0000 (19:05 +0800)
committerEdward <edward@roojs.com>
Mon, 23 Jul 2018 11:05:29 +0000 (19:05 +0800)
Mailer.php

index 3588ee4..ef82bed 100644 (file)
@@ -321,8 +321,14 @@ class Pman_Core_Mailer {
         
         $pg = $ff->page;
         
+        $ts = microtime(true);
+        
         $email = is_array($email)  ? $email : $this->toData();
         
+        $diff = microtime(true) - $ts;
+        
+        print_r($diff);exit;
+        
         if (is_a($email, 'PEAR_Error')) {
             $pg->addEvent("COREMAILER-FAIL",  false, "email toData failed");