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: $!";