mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 52782 - whineatnews.pl email should use the 'sendmailnow' Param. Patch by e.maryniak@pobox.com, r=gerv.
This commit is contained in:
parent
358c20af07
commit
d0c33d7e8a
@ -62,7 +62,10 @@ foreach my $email (sort (keys %bugs)) {
|
||||
foreach my $i (@{$bugs{$email}}) {
|
||||
$msg .= " ${urlbase}show_bug.cgi?id=$i\n"
|
||||
}
|
||||
open(SENDMAIL, "|/usr/lib/sendmail -t") || die "Can't open sendmail";
|
||||
|
||||
my $sendmailparam = Param('sendmailnow') ? '' : "-ODeliveryMode=deferred";
|
||||
open SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t"
|
||||
or die "Can't open sendmail";
|
||||
print SENDMAIL $msg;
|
||||
close SENDMAIL;
|
||||
print "$email " . join(" ", @{$bugs{$email}}) . "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user