From 7f42fbfe718332eaa4afd107fcd930c828ebd941 Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 19 Oct 2023 23:11:30 +0300 Subject: [PATCH] debug --- src/Appwrite/Platform/Workers/Mails.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Mails.php b/src/Appwrite/Platform/Workers/Mails.php index d4dccf4991..75085e25e1 100644 --- a/src/Appwrite/Platform/Workers/Mails.php +++ b/src/Appwrite/Platform/Workers/Mails.php @@ -64,12 +64,13 @@ class Mails extends Action } $body = $body->render(); - var_dump($smtp); + /** @var PHPMailer $mail */ $mail = empty($smtp) ? $register->get('smtp') : $this->getMailer($smtp); - + var_dump("mail="); + var_dump($mail); $mail->clearAddresses(); $mail->clearAllRecipients(); $mail->clearReplyTos(); @@ -95,7 +96,7 @@ class Mails extends Action */ protected function getMailer(array $smtp): PHPMailer { - + var_dump("smtp="); var_dump($smtp); $mail = new PHPMailer(true);