AWS SES adapter for Bamboo
The package can be installed by adding bamboo_ses
to your list of dependencies in mix.exs
:
def deps do
[
{:bamboo_ses, "~> 0.1.0"}
]
end
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"]
Documentation can be found at https://hexdocs.pm/bamboo_ses.