transacemail-mandrill
v0.1.4
Published
Transactional Email & Templated Email for NodeJS
Downloads
4
Maintainers
Readme
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: "[email protected]",
from_name: "Francois-Guillaume Ribreau"
}));
mails.setMailProvider();