Skip to content
Permalink
Browse files

List number of subscribers before sending

  • Loading branch information...
davidmerfield committed Mar 13, 2019
1 parent d051d66 commit 7bb919b2e0af779a1721a9f8f7fb57a2a3a555bd
Showing with 2 additions and 0 deletions.
  1. +2 −0 scripts/email/newsletter.js
@@ -31,6 +31,8 @@ function main(letter, callback) {
getAllSubscribers(function(err, emails) {
if (err) return callback(err);

console.log('Sending ' + letter + ' out to ' + emails.length + ' subscribers');

async.filter(emails, alreadySent, function(err, emails) {
if (err) return callback(err);

0 comments on commit 7bb919b

Please sign in to comment.
You can’t perform that action at this time.