From 6af450431d34447a8ce96eefc26a9c9973c8abe1 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Tue, 12 Sep 2000 23:29:38 +0000 Subject: [PATCH] fix for 51299: RemoveVotes email should use the 'sendmailnow' Param. patch by dave@intrec.com --- globals.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/globals.pl b/globals.pl index e6b48521b6..94e16734d0 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; -- 2.47.2