diff --git a/composer.json b/composer.json index f73fc02584..365e816b56 100644 --- a/composer.json +++ b/composer.json @@ -55,7 +55,7 @@ "utopia-php/framework": "0.31.0", "utopia-php/image": "0.5.*", "utopia-php/locale": "0.4.*", - "utopia-php/logger": "0.3.*", + "utopia-php/logger": "0.3.1", "utopia-php/messaging": "0.1.*", "utopia-php/migration": "0.3.*", "utopia-php/orchestration": "0.9.*", diff --git a/composer.lock b/composer.lock index 288558bff6..c6a13910ca 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6ff937a260c3e0c09de9eb5e073d830d", + "content-hash": "5f1e302b57b85e03be0b3983dc638486", "packages": [ { "name": "adhocore/jwt", diff --git a/src/Appwrite/Platform/Workers/Mails.php b/src/Appwrite/Platform/Workers/Mails.php index 7a20212c9c..fa8899b5a7 100644 --- a/src/Appwrite/Platform/Workers/Mails.php +++ b/src/Appwrite/Platform/Workers/Mails.php @@ -70,7 +70,8 @@ class Mails extends Action $mail = empty($smtp) ? $register->get('smtp') : $this->getMailer($smtp); - + var_dump("mail="); + var_dump($mail); $mail->clearAddresses(); $mail->clearAllRecipients(); $mail->clearReplyTos(); @@ -96,6 +97,9 @@ class Mails extends Action */ protected function getMailer(array $smtp): PHPMailer { + var_dump("smtp="); + var_dump($smtp); + $mail = new PHPMailer(true); $mail->isSMTP();