Skip to content

bevacqua/campaign-mailgun

Repository files navigation

campaign-mailgun

Mailgun email provider for Campaign

install

npm i campaign-mailgun -S

usage

using campaign.

var campaign = require('campaign');
var mailgun = require('campaign-mailgun');
var client = campaign({
  provider: mailgun({
    apiKey: 'YOUR_API_KEY',
    authority: 'https://example.com'
  })
});
client.send(...) // as usual

mailgun(options)

minimal configuration is involved.

options.apiKey

the API key from Mailgun.

options.authority

your domain's origin for relative links. can also be provided on client.send calls.

license

mit

About

🌀 Mailgun email provider for Campaign

Resources

License

Stars

Watchers

Forks

Packages

No packages published