From dcbc823f0b36e06e2f418d354213fab0af902599 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 31 Dec 2015 02:24:32 -0800 Subject: [PATCH] need $emailTo variable. --- scripts/send-renewal-notices.plx | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/send-renewal-notices.plx b/scripts/send-renewal-notices.plx index 723a215..ed9d8e7 100644 --- a/scripts/send-renewal-notices.plx +++ b/scripts/send-renewal-notices.plx @@ -49,6 +49,7 @@ foreach my $supporterId (@supporterIds) { push(@message, $line); } close MESSAGE; + my $emailTo = join(' ', keys %emails); open(SENDMAIL, "|/usr/lib/sendmail -f \"$FROM_ADDRESS\" -oi -oem -- $emailTo $FROM_ADDRESS") or die "unable to run sendmail: $!";