From: Edward Date: Mon, 23 Jul 2018 11:05:29 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=45c9d54c3752ca205e7f745107c8f66c8d4f549c Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 3588ee47..ef82bed7 100644 --- a/Mailer.php +++ b/Mailer.php @@ -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");