diff options
author | mkanat%bugzilla.org <> | 2008-07-12 04:27:12 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-07-12 04:27:12 +0200 |
commit | 4aa7e2638ea9b15accbf848a80197afef413281e (patch) | |
tree | cf0a8852052e2739c4dbee39b1a896c0c1da60cb | |
parent | f1b362dfa9c1e0a8c5c89d669801604cb3278dfb (diff) | |
download | bugzilla-4aa7e2638ea9b15accbf848a80197afef413281e.tar.gz bugzilla-4aa7e2638ea9b15accbf848a80197afef413281e.tar.xz |
Bug 444185: Make email_in.pl send errors with From as "mailfrom".
Patch By Vincent Castellano <surye80@gmail.com> r=mkanat, a=mkanat
-rw-r--r-- | email_in.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl index 742b84f5f..bed5a1477 100644 --- a/email_in.pl +++ b/email_in.pl @@ -310,7 +310,9 @@ sub die_handler { $msg =~ s/at .+ line.*$//ms; $msg =~ s/^Compilation failed in require.+$//ms; $msg = html_strip($msg); - my $reply = reply(to => $input_email, top_post => 1, body => "$msg\n"); + my $from = Bugzilla->params->{'mailfrom'}; + my $reply = reply(to => $input_email, from => $from, top_post => 1, + body => "$msg\n"); MessageToMTA($reply->as_string); } print STDERR "$msg\n"; |