Send emails with Campaign Monitor via this adapter
A Campiagn Monitor Adapter for the Bamboo email library.
The package can be installed as:
- Add bamboo_campaign_monitor to your list of dependencies in
mix.exs
:
def deps do
# Get from hex
[{:bamboo_campaign_monitor, "~> 0.5"}]
end
- Add your Campaign Monitor API key to your config
You can find this key as
Server API token
under theCredentials
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"
- Follow Bamboo Getting Started Guide