Socket
Socket
Sign inDemoInstall

mandrill-blast

Package Overview
Dependencies
58
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mandrill-blast

blast a CSV list of emails with template data via Mandrill API


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Install size
6.70 MB
Created
Weekly downloads
 

Readme

Source

mandrill-blast

quick and dirty way to blast a CSV list of emails with template data using Node and the Mandrill API

Install

You need to have NodeJS installed and running, then

npm install mandrill-blast

OR

git clone https://github.com/akhoury/mandrill-blast.git

Usage

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"

CSV

MUST have headers for each column, at the top

id,email,name,friend,location,token
1,dude@example.com,gooby,derp,fakeville,123456789
2,dudette@example.com,goobette,derpina,fakecity,987654321

Templates

uses Handlerbars format for templating, it's pretty simple see sample.template.html for an example.

Mandrill API

You need an account and a valid API Key, get one at mandrill.com

Todo

  • make it a reusable module
  • anything that the heart desires, I needed this as a 10 minutes hack and it got the job done, if you have ideas or needs, submit a pull or feature request.

Keywords

FAQs

Last updated on 09 Jan 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc