/bamboo_campaign_monitor

Send emails with Campaign Monitor via this adapter for Bamboo

Primary LanguageElixirMIT LicenseMIT

Bamboo.CampaignMonitorAdapter

Send emails with Campaign Monitor via this adapter

A Campiagn Monitor Adapter for the Bamboo email library.

Installation

The package can be installed as:

  1. Add bamboo_campaign_monitor to your list of dependencies in mix.exs:
def deps do
  # Get from hex
  [{:bamboo_campaign_monitor, "~> 0.5"}]
end
  1. Add your Campaign Monitor API key to your config

You can find this key as Server API token under the Credentials tab in each Postmark server.

# In your configuration file:
#  * General configuration: config/config.exs
#  * Recommended production only: config/prod.exs

config :my_app, MyApp.Mailer,
      adapter: Bamboo.CampaignMonitorAdapter,
      api_key: "my_api_key"
  1. Follow Bamboo Getting Started Guide