diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-11 22:03:12 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-11 22:03:12 +0100 |
| commit | 8252e12922a686377a83f668d482bc1a4e142625 (patch) | |
| tree | fd45f888fa1939d9760a101849ff5451661effa0 /http | |
| parent | 6a0c86f3f2f11e00c43c8fcc4f103411c22f9639 (diff) | |
website PHPMailer uses SMTPS, not Plain auth
Diffstat (limited to 'http')
| -rw-r--r-- | http/php/mail.php | 2 |
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()); |
