blast a CSV list of emails with template data via Mandrill API
npm install mandrill-blastmandrill-blast
==============
quick and dirty way to blast a CSV list of emails with template data using Node and the Mandrill API
bash
npm install mandrill-blast
`
OR
`bash
git clone https://github.com/akhoury/mandrill-blast.git
`$3
`bash
cd mandrill-blast
node blast.js --source="sample.emails.csv" --key="0123456789" --template="sample.template.html" --from="you@example.com" --to-email-column="email" --subject="Hi {{name}}" --to-name-column="name"
`$3
__MUST__ have headers for each column, at the top
`csv
id,email,name,friend,location,token
1,dude@example.com,gooby,derp,fakeville,123456789
2,dudette@example.com,goobette,derpina,fakecity,987654321
``You need an account and a valid API Key, get one at mandrill.com