From 45c9d54c3752ca205e7f745107c8f66c8d4f549c Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 23 Jul 2018 19:05:29 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 6 ++++++ 1 file changed, 6 insertions(+) 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"); -- 2.39.2