mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/8558] Add display name in emails from board
PHPBB3-8558
This commit is contained in:
parent
e9807e1741
commit
7e7647c159
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue