default send address

This commit is contained in:
Fred Tempez 2023-10-11 21:10:48 +02:00
parent 68de5ceb92
commit 1eb5b09da7
3 changed files with 3 additions and 2 deletions

View File

@ -1190,7 +1190,7 @@ class common
* @param string $content Contenu * @param string $content Contenu
* @return bool * @return bool
*/ */
public function sendMail($to, $subject, $content, $replyTo = null, $from = '') public function sendMail($to, $subject, $content, $replyTo = null, $from = 'no-reply@localhost')
{ {
// Layout // Layout
ob_start(); ob_start();

View File

@ -153,7 +153,7 @@ class install extends common
'<strong>URL du site :</strong> <a href="' . helper::baseUrl(false) . '" target="_blank">' . helper::baseUrl(false) . '</a><br>' . '<strong>URL du site :</strong> <a href="' . helper::baseUrl(false) . '" target="_blank">' . helper::baseUrl(false) . '</a><br>' .
'<strong>Identifiant du compte :</strong> ' . $this->getInput('installId') . '<br>', '<strong>Identifiant du compte :</strong> ' . $this->getInput('installId') . '<br>',
null, null,
'localhost' 'no-reply@localhost'
); );
// Sauvegarder la configuration du Proxy // Sauvegarder la configuration du Proxy

View File

@ -44,6 +44,7 @@ class init extends common
'proxyType' => 'tcp://', 'proxyType' => 'tcp://',
'smtp' => [ 'smtp' => [
'enable' => false, 'enable' => false,
'from'=> 'no-reply@localhost'
], ],
'seo' => [ 'seo' => [
'robots' => true, 'robots' => true,