batch-mailer
v1.0.0
Published
Batch send emails to subscriber list
Readme
batch-mailer
Batch send emails to a subscriber list with nodemailer.
To use:
Rename
.env.exampleto.envand edit the environment variables in that file to configure the batch sendEdit the
getNewsletterHTMLfunction so that it returns the html content that you want to send to the email subscribersEdit the
subscribers.txtfile so that it contains your email subscriber list. Note that each subscriber has a unique token associated to them. The unique token can be used for example to unsubscribe specific subscribers.Use the command
npm run sendto perform the batch send
