diff options
author | cyeh%bluemartini.com <> | 2000-09-13 01:29:38 +0200 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2000-09-13 01:29:38 +0200 |
commit | 6af450431d34447a8ce96eefc26a9c9973c8abe1 (patch) | |
tree | 0ed3ea5defdc247cc19198bfa93e76b84f365a57 /globals.pl | |
parent | 8ea64d14a889e8ab31b15d488d9e6d16c0f6a534 (diff) | |
download | bugzilla-6af450431d34447a8ce96eefc26a9c9973c8abe1.tar.gz bugzilla-6af450431d34447a8ce96eefc26a9c9973c8abe1.tar.xz |
fix for 51299: RemoveVotes email should use the 'sendmailnow' Param. patch by dave@intrec.com
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index e6b48521b..94e16734d 100644 --- a/globals.pl +++ b/globals.pl @@ -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; |