From 1eb5b09da78cf9326adfbf373757dbffe49085e4 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 11 Oct 2023 21:10:48 +0200 Subject: [PATCH] default send address --- core/core.php | 2 +- core/module/install/install.php | 2 +- core/module/install/ressource/defaultdata.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index f77ce54..571bec2 100644 --- a/core/core.php +++ b/core/core.php @@ -1190,7 +1190,7 @@ class common * @param string $content Contenu * @return bool */ - public function sendMail($to, $subject, $content, $replyTo = null, $from = '') + public function sendMail($to, $subject, $content, $replyTo = null, $from = 'no-reply@localhost') { // Layout ob_start(); diff --git a/core/module/install/install.php b/core/module/install/install.php index 43c8f94..faaaec2 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -153,7 +153,7 @@ class install extends common 'URL du site : ' . helper::baseUrl(false) . '
' . 'Identifiant du compte : ' . $this->getInput('installId') . '
', null, - 'localhost' + 'no-reply@localhost' ); // Sauvegarder la configuration du Proxy diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 4e7a8de..14594c9 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -44,6 +44,7 @@ class init extends common 'proxyType' => 'tcp://', 'smtp' => [ 'enable' => false, + 'from'=> 'no-reply@localhost' ], 'seo' => [ 'robots' => true,