need $emailTo variable.

This commit is contained in:
Bradley M. Kuhn 2015-12-31 02:24:32 -08:00
parent 5e226a3483
commit dcbc823f0b

View file

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