1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

Merge branch 'cl-1.4.x' of github.com:appwrite/appwrite into cl-1.4.x

This commit is contained in:
Christy Jacob 2023-10-20 16:55:52 +04:00
commit 3acb68f364
3 changed files with 7 additions and 3 deletions

View file

@ -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.*",

2
composer.lock generated
View file

@ -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",

View file

@ -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();