1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00

Fix emails

Update main-01-mail.patch

Update main-01-mail.patch

Update main-01-mail.patch

Update main-01-mail.patch

Update main-01-mail.patch

Update main-01-mail.patch

Update main-01-mail.patch

Fix mail 2
This commit is contained in:
Limezy 2024-05-20 18:35:02 +07:00
parent 16ea59d9d8
commit 2be3bbb1a1
3 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,6 @@
{
"app": "moncycle.app",
"version": "13~ynh3",
"build": "2024-05-14",
"version": "13~ynh4",
"build": "2024-05-20",
"commit": "d665882"
}

View file

@ -5,7 +5,7 @@ name = "Moncycle"
description.en = "Menstrual cycle follow-up for natural family planning"
description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
version = "13~ynh3"
version = "13~ynh4"
maintainers = ["Raoul de Limezy"]

22
sources/patches/main-01-mail.patch Normal file → Executable file
View file

@ -4,14 +4,14 @@ index fc2246e..2e060e3 100644
+++ 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';
$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';