transacemail-mandrill

Transactional Email & Templated Email for NodeJS

npm install transacemail-mandrill
10 downloads in the last month

Mandrill MailProvider for node-transacemail

Usage

var Mailing = require('transacemail');

var mails = Mailing
              .compile('/path/to/mails')
              .setMailProvider(require('transacemail-mandrill')('apikey'));

// OR
var Mandrill = require('transacemail-mandrill');

var mails = Mailing
              .compile('/path/to/mails')
              .setMailProvider(Mandrill('apikey', {
                track_opens: true,
                track_clicks: true,
                auto_text:false,
                subject: "node-transacemail-mandrill",
                from_email: "mandrill@transacemail.com",
                from_name: "Francois-Guillaume Ribreau"
              }));


mails.setMailProvider();
npm loves you