RSS

trunk : 6128

mkanat%bugzilla.org
2008-07-11 21:27:12
Revision ID: cvs-1:mkanatbugzilla.org-20080712022712-yb2id26rjjsf2xzr
Bug 444185: Make email_in.pl send errors with From as "mailfrom". Patch By Vincent Castellano <surye80@gmail.com> r=mkanat, a=mkanat

collapse all collapse all

added added

removed removed

310
       $msg =~ s/at .+ line.*$//ms;
310
       $msg =~ s/at .+ line.*$//ms;
311
       $msg =~ s/^Compilation failed in require.+$//ms;
311
       $msg =~ s/^Compilation failed in require.+$//ms;
312
       $msg = html_strip($msg);
312
       $msg = html_strip($msg);
313
       my $reply = reply(to => $input_email, top_post => 1, body => "$msg\n");
313
       my $from = Bugzilla->params->{'mailfrom'};
 
 
314
       my $reply = reply(to => $input_email, from => $from, top_post => 1, 
 
 
315
                         body => "$msg\n");
314
       MessageToMTA($reply->as_string);
316
       MessageToMTA($reply->as_string);
315
    }
317
    }
316
    print STDERR "$msg\n";
318
    print STDERR "$msg\n";

Loggerhead runs on Bazaar branches