diff --git a/core/core.php b/core/core.php index 1cdd5a7b..941cb4bd 100644 --- a/core/core.php +++ b/core/core.php @@ -1195,7 +1195,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 b0574ba1..a8c15b13 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -167,7 +167,7 @@ class install extends common 'URL du site : ' . helper::baseUrl(false) . '
' . 'Identifiant du compte : ' . $this->getInput('installId') . '
', null, - 'localhost' + 'no-reply@localhost' ); // Nettoyage fr par défaut