batch-mailer
v1.0.0
Published
Batch send emails to subscriber list
Downloads
1
Readme
batch-mailer
Batch send emails to a subscriber list with nodemailer.
To use:
Rename
.env.example
to.env
and edit the environment variables in that file to configure the batch sendEdit the
getNewsletterHTML
function so that it returns the html content that you want to send to the email subscribersEdit the
subscribers.txt
file 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 send
to perform the batch send