1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00
moncycle_ynh/sources/patches/main-02-mail.patch
Limezy 2df206d970 Upgrade
This reverts commit d19b7dd8f9dbdb29316c524a7b2a51f230cc1e99.

Upgrade

mail patch

Update extra_php-fpm.conf

Update patches

Update main-02-static.patch

Update patches

Update patches

Update patches

Update patches

Test

Update manifest.toml

Change order

Test one file

Test full of hope

End lines ?

Revert "Update manifest.toml"

This reverts commit 210559e451ce8a01f82db555ada2725ce2fd37ff.
2024-02-20 14:31:50 +07:00

17 lines
574 B
Diff

diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
index 9b58b50..54553cf 100644
--- a/www_data/lib/mail.php
+++ b/www_data/lib/mail.php
@@ -15,10 +15,10 @@ 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';