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,