Commit 4aa7e263 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 444185: Make email_in.pl send errors with From as "mailfrom".

Patch By Vincent Castellano <surye80@gmail.com> r=mkanat, a=mkanat
parent f1b362df
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment