summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http/php/mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/php/mail.php b/http/php/mail.php
index bd5c377..d9c4125 100644
--- a/http/php/mail.php
+++ b/http/php/mail.php
@@ -19,7 +19,7 @@ function sendEmail(
$mail->Host = Config\localSmtpHost();
$mail->Port = Config\localSmtpPort();
$mail->SMTPAuth = true;
- $mail->PlainAuth = true;
+ $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
$mail->Username = Config\localSmtpUser();
$mail->Password = Config\localSmtpPass();
$mail->setFrom(Config\localSmtpFrom(), Config\localSmtpFromName());