campaign-mandrill
February 25, 2016 ยท View on GitHub
Mandrill email provider for Campaign
install
npm i campaign-mandrill -S
usage
using campaign.
var campaign = require('campaign');
var mandrill = require('campaign-mandrill');
var client = campaign({
provider: mandrill({
apiKey: 'YOUR_API_KEY',
debug: false
})
});
client.send(...) // as usual
mandrill(options)
minimal configuration is involved.
options.apiKey
the API key from mandrill. alternatively, you can set process.env.MANDRILL_APIKEY.
options.debug
turn on internal debugging for mandrill-api module
license
mit