From 8e6ab006f36afbbb7cec0f5569cdb0461469b057 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 24 Jul 2018 13:14:23 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 2.39.2