Correct printout of email addresses for renewal.
This commit is contained in:
parent
d151b992c4
commit
6d7bae7e02
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ foreach my $supporterId (@supporterIds) {
|
||||||
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: $!";
|
||||||
|
|
||||||
print "To: ", join(', ', keys %emails), "\n";
|
print STDERR "Sending to $supporterId at $emailTo\n";
|
||||||
|
print SENDMAIL "To: ", join(', ', keys %emails), "\n";
|
||||||
print SENDMAIL @message;
|
print SENDMAIL @message;
|
||||||
|
|
||||||
close SENDMAIL;
|
close SENDMAIL;
|
||||||
|
|
Loading…
Reference in a new issue