mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Create app-01-mail.patch
This commit is contained in:
parent
6988fa00a9
commit
825d1d2675
1 changed files with 14 additions and 0 deletions
14
sources/patches/app-01-mail.patch
Normal file
14
sources/patches/app-01-mail.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
|
||||
index f153e3c..d970b56 100644
|
||||
--- a/www_data/lib/mail.php
|
||||
+++ b/www_data/lib/mail.php
|
||||
@@ -18,7 +18,8 @@ function mail_init(){
|
||||
$mail->SMTPAuth = true;
|
||||
$mail->Username = SMTP_MAIL;
|
||||
$mail->Password = SMTP_PASSWORD;
|
||||
- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
|
||||
+ $mail->SMTPAutoTLS = false;
|
||||
+ $mail->SMTPSecure = false;
|
||||
$mail->Port = SMTP_PORT;
|
||||
$mail->CharSet = 'UTF-8';
|
||||
|
Loading…
Add table
Reference in a new issue