Skip to content

FGRibreau/node-transacemail-mandrill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
              }));

Donate

I maintain this project in my free time, if it helped you please support my work via paypal or bitcoins, thanks a lot!