[ticket/8558] Add display name in emails from board

PHPBB3-8558
This commit is contained in:
Markus Stenudd 2013-11-30 16:01:26 +01:00 committed by Oliver Schramm
parent e9807e1741
commit 7e7647c159

View file

@ -488,12 +488,12 @@ class messenger
if (empty($this->replyto))
{
$this->replyto = '<' . $config['board_contact'] . '>';
$this->replyto = '"' . $config['sitename'] . '" <' . $config['board_contact'] . '>';
}
if (empty($this->from))
{
$this->from = '<' . $config['board_contact'] . '>';
$this->from = '"' . $config['sitename'] . '" <' . $config['board_contact'] . '>';
}
$encode_eol = ($config['smtp_delivery']) ? "\r\n" : $this->eol;