• Stars
    star
    35
  • Rank 750,836 (Top 15 %)
  • Language
    Elixir
  • License
    MIT License
  • Created over 6 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AWS SES adapter for Bamboo

BambooSes

Elixir CI Module Version Hex Docs Total Download License Last Updated

AWS SES adapter for Bamboo

Installation

The package can be installed by adding :bamboo_ses to your list of dependencies in mix.exs:

def deps do
  [
    {:bamboo_ses, "~> 0.4.0"}
  ]
end

Configuration

Change the config for your mailer:

config :my_app, MyApp.Mailer,
  adapter: Bamboo.SesAdapter

This package has ExAws as a dependency, and you have to configure it. To find more on AWS key configuration, please follow this link.

You can also override the default ExAws configuration defining a Keyword list as :ex_aws key in the mailer config:

config :my_app, MyApp.Mailer,
  adapter: Bamboo.SesAdapter,
  ex_aws: [region: "eu-west-1"]

Usage

email
|> Bamboo.SesAdapter.set_configuration_set("my-configuration-name")
|> TestBambooSes.Mailer.deliver_now()

See all available methods on https://hexdocs.pm/bamboo_ses/Bamboo.SesAdapter.html

Buy Me A Coffee

Copyright and License

Copyright (c) 2018 Kalys Osmonov

This library is released under the MIT License. See the LICENSE.md file.