Bamboo.ElasticEmailAdapter
![Build Status][build_status_svg]
An Elastic Email adapter for the Bamboo email app for Elixir.
Installation
-
Add
bambooandbamboo_elastic_emailto yourmix.exs:def deps do [ {:bamboo, "~> 0.8"}, {:bamboo_elastic_email, "~> 0.1"} # OR: {:bamboo_elastic_email, github: "KineticCafe/bamboo_elastic_email"} ] end -
If using Elixir before 1.4, or if you are managing all applications yourself, ensure that
bamboois started before your application:def application do [applications: [:bamboo]] end -
Add your Elastic Email API key to your config:
# In your config/config.exs file config :my_app, MyApp.Mailer, adapter: Bamboo.ElasticEmailAdapter api_key: "my-api-key" -
Follow the Bamboo Getting Started Guide.
-
To use ElasticEmail's postBack functionality you can place a value in the
Email#privateparameter:Email.put_private(email, :elastic_custom_vars, %{post_back: "your-post-back-value"})
Community and Contributing
We welcome your contributions, as described in Contributing.md. Like all Kinetic Cafe open source projects, is under the Kinetic Cafe Open Source Code of Conduct.