campaign-mandrill
v1.0.1
Published
Mandrill email provider for Campaign
Downloads
12
Readme
campaign-mandrill
Mandrill email provider for Campaign
install
npm i campaign-mandrill -Susage
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 usualmandrill(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
