summaryrefslogtreecommitdiffstats
path: root/email_in.pl
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@redhat.com>2014-05-29 16:18:24 +0200
committerDavid Lawrence <dkl@redhat.com>2014-05-29 16:18:24 +0200
commit1af952ceaa1c06a10e0eeb6f139e5a5652002e98 (patch)
tree9c8adcb754e6f28b85fc3fa180dd348ac332a75a /email_in.pl
parent049ea3d136ca73c82f5aa530f328d2596f8e6090 (diff)
downloadbugzilla-1af952ceaa1c06a10e0eeb6f139e5a5652002e98.tar.gz
bugzilla-1af952ceaa1c06a10e0eeb6f139e5a5652002e98.tar.xz
Bug 1016273: Bugzilla whine emails missing change to From header made by bug 1010751
Diffstat (limited to 'email_in.pl')
-rwxr-xr-xemail_in.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl
index 34e57c90c..928758a9e 100755
--- a/email_in.pl
+++ b/email_in.pl
@@ -387,7 +387,8 @@ sub die_handler {
$msg =~ s/at .+ line.*$//ms;
$msg =~ s/^Compilation failed in require.+$//ms;
$msg = html_strip($msg);
- my $from = Bugzilla->params->{'mailfrom'};
+ my $from = '"' . template_var('terms')->{'BugzillaTitle'} . '"' .
+ ' <' . Bugzilla->params->{'mailfrom'} . '>';
my $reply = reply(to => $input_email, from => $from, top_post => 1,
body => "$msg\n");
MessageToMTA($reply->as_string);