mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update main-02-mail.patch
This commit is contained in:
parent
2df206d970
commit
10bdb4af1f
1 changed files with 13 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
|
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
|
||||||
index 9b58b50..54553cf 100644
|
index 9b58b50..ff99f07 100644
|
||||||
--- a/www_data/lib/mail.php
|
--- a/www_data/lib/mail.php
|
||||||
+++ b/www_data/lib/mail.php
|
+++ b/www_data/lib/mail.php
|
||||||
@@ -15,10 +15,10 @@ function mail_init(){
|
@@ -15,13 +15,13 @@ function mail_init(){
|
||||||
|
|
||||||
$mail->isSMTP();
|
$mail->isSMTP();
|
||||||
$mail->Host = SMTP_HOST;
|
$mail->Host = SMTP_HOST;
|
||||||
|
@ -14,4 +14,14 @@ index 9b58b50..54553cf 100644
|
||||||
+ $mail->SMTPSecure = false;
|
+ $mail->SMTPSecure = false;
|
||||||
$mail->Port = SMTP_PORT;
|
$mail->Port = SMTP_PORT;
|
||||||
$mail->CharSet = 'UTF-8';
|
$mail->CharSet = 'UTF-8';
|
||||||
|
-
|
||||||
|
+
|
||||||
|
$mail->setFrom(SMTP_MAIL, 'moncycle.app');
|
||||||
|
return $mail;
|
||||||
|
}
|
||||||
|
@@ -105,5 +105,3 @@ function mail_body_relance ($nom, $mail1) {
|
||||||
|
</div>
|
||||||
|
HTML;
|
||||||
|
}
|
||||||
|
-
|
||||||
|
-
|
Loading…
Reference in a new issue