aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMarkus Stenudd <stenudden@gmail.com>2013-11-30 16:01:26 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2014-04-16 16:07:55 +0200
commit7e7647c1594fc009a071b6b24bbf2eff5c5b2dfd (patch)
treee020fe693d23e5f394ba569f7603287c50891b4d /phpBB/includes
parente9807e17412299d7157d6be82777961a66cada90 (diff)
downloadforums-7e7647c1594fc009a071b6b24bbf2eff5c5b2dfd.tar
forums-7e7647c1594fc009a071b6b24bbf2eff5c5b2dfd.tar.gz
forums-7e7647c1594fc009a071b6b24bbf2eff5c5b2dfd.tar.bz2
forums-7e7647c1594fc009a071b6b24bbf2eff5c5b2dfd.tar.xz
forums-7e7647c1594fc009a071b6b24bbf2eff5c5b2dfd.zip
[ticket/8558] Add display name in emails from board
PHPBB3-8558
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index db2dea33e8..333914f02f 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -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;