diff --git a/scripts/send-renewal-notices.plx b/scripts/send-renewal-notices.plx index ed9d8e7..9facf70 100644 --- a/scripts/send-renewal-notices.plx +++ b/scripts/send-renewal-notices.plx @@ -53,7 +53,8 @@ foreach my $supporterId (@supporterIds) { open(SENDMAIL, "|/usr/lib/sendmail -f \"$FROM_ADDRESS\" -oi -oem -- $emailTo $FROM_ADDRESS") or 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; close SENDMAIL;