From: Edward Date: Tue, 24 Jul 2018 05:14:23 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=8e6ab006f36afbbb7cec0f5569cdb0461469b057 Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 9b84e5f3..2d18af2b 100644 --- a/Mailer.php +++ b/Mailer.php @@ -321,8 +321,12 @@ class Pman_Core_Mailer { $pg = $ff->page; + $ts = microtime(true); + $email = is_array($email) ? $email : $this->toData(); + print_r(microtime(true) - $ts);exit; + if (is_a($email, 'PEAR_Error')) { $pg->addEvent("COREMAILER-FAIL", false, "email toData failed");