need $emailTo variable.
This commit is contained in:
parent
5e226a3483
commit
dcbc823f0b
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ foreach my $supporterId (@supporterIds) {
|
||||||
push(@message, $line);
|
push(@message, $line);
|
||||||
}
|
}
|
||||||
close MESSAGE;
|
close MESSAGE;
|
||||||
|
my $emailTo = join(' ', keys %emails);
|
||||||
open(SENDMAIL, "|/usr/lib/sendmail -f \"$FROM_ADDRESS\" -oi -oem -- $emailTo $FROM_ADDRESS") or
|
open(SENDMAIL, "|/usr/lib/sendmail -f \"$FROM_ADDRESS\" -oi -oem -- $emailTo $FROM_ADDRESS") or
|
||||||
die "unable to run sendmail: $!";
|
die "unable to run sendmail: $!";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue