mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
fix for 51299: RemoveVotes email should use the 'sendmailnow' Param. patch by dave@intrec.com
This commit is contained in:
parent
f7f49cb31e
commit
2e62d1d1d3
@ -899,7 +899,11 @@ sub RemoveVotes {
|
||||
if (0 < @list) {
|
||||
foreach my $ref (@list) {
|
||||
my ($name, $count) = (@$ref);
|
||||
if (open(SENDMAIL, "|/usr/lib/sendmail -t")) {
|
||||
my $sendmailparm = '-ODeliveryMode=deferred';
|
||||
if (Param('sendmailnow')) {
|
||||
$sendmailparm = '';
|
||||
}
|
||||
if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -t")) {
|
||||
my %substs;
|
||||
$substs{"to"} = $name;
|
||||
$substs{"bugid"} = $id;
|
||||
|
Loading…
Reference in New Issue
Block a user