transacemail-mandrill

Transactional Email & Templated Email for NodeJS

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();

Donate Bitcoins