From 8252e12922a686377a83f668d482bc1a4e142625 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 11 Aug 2026 22:03:12 +0100 Subject: website PHPMailer uses SMTPS, not Plain auth --- http/php/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3