From 80dfeec3fed913a35312cf621e704bcfd16110b4 Mon Sep 17 00:00:00 2001 From: Limezy Date: Tue, 20 Feb 2024 20:55:46 +0700 Subject: [PATCH] Update main-01-mail.patch --- sources/patches/main-01-mail.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sources/patches/main-01-mail.patch b/sources/patches/main-01-mail.patch index 5c0b711..441851c 100644 --- a/sources/patches/main-01-mail.patch +++ b/sources/patches/main-01-mail.patch @@ -1,17 +1,19 @@ diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php -index 9b58b50..54553cf 100644 +index 9b58b50..1a538e6 100644 --- a/www_data/lib/mail.php +++ b/www_data/lib/mail.php -@@ -15,10 +15,10 @@ function mail_init(){ +@@ -15,12 +15,12 @@ function mail_init(){ $mail->isSMTP(); $mail->Host = SMTP_HOST; - $mail->SMTPAuth = true; -+ $mail->SMTPAuth = false; $mail->Username = SMTP_MAIL; $mail->Password = SMTP_PASSWORD; - $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; -+ $mail->SMTPSecure = false; $mail->Port = SMTP_PORT; $mail->CharSet = 'UTF-8'; - \ No newline at end of file ++ $mail->SMTPAuth = false; ++ $mail->SMTPSecure = false; + + $mail->setFrom(SMTP_MAIL, 'moncycle.app'); + return $mail; \ No newline at end of file