mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
debug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user