Fix maildev auth

This commit is contained in:
Jake Barnby committed 2023-08-30 00:56:08 -04:00
1 parent 129f942164
commit e3a9fae033
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -807,7 +807,7 @@ $register->set('smtp', function () {
$mail->XMailer = 'Appwrite Mailer';
$mail->Host = App::getEnv('_APP_SMTP_HOST', 'smtp');
$mail->Port = App::getEnv('_APP_SMTP_PORT', 25);
$mail->SMTPAuth = (!empty($username) && !empty($password));
$mail->SMTPAuth = !empty($username) && !empty($password);
$mail->Username = $username;
$mail->Password = $password;
$mail->SMTPSecure = App::getEnv('_APP_SMTP_SECURE', '');