mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/8558] Add display name in emails from board
PHPBB3-8558
This commit is contained in:
committed by
Oliver Schramm
parent
e9807e1741
commit
7e7647c159
@@ -488,12 +488,12 @@ class messenger
|
|||||||
|
|
||||||
if (empty($this->replyto))
|
if (empty($this->replyto))
|
||||||
{
|
{
|
||||||
$this->replyto = '<' . $config['board_contact'] . '>';
|
$this->replyto = '"' . $config['sitename'] . '" <' . $config['board_contact'] . '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($this->from))
|
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;
|
$encode_eol = ($config['smtp_delivery']) ? "\r\n" : $this->eol;
|
||||||
|
Reference in New Issue
Block a user