Adapter module to configure Swoosh to send emails via Mailcast.
To configure your Mailer, specify the adapter and a Mailcast API key:
config :my_app, MyApp.Mailer,
adapter: Mailcast.Swoosh.Adapter,
api_key: "mailcast_prod_5nn4ohz3lg2yrz4tk5wdaqwvtxpylxrduresdbd2xkoqm"If you're configuring your app for production, configure your adapter in prod.exs, and
your API key from the environment in runtime.exs:
# prod.exs
config :my_app, MyApp.Mailer, adapter: Mailcast.Swoosh.Adapter# runtime.exs
config :my_app, MyApp.Mailer, api_key: "mailcast_prod_5nn4ohz3lg2yrz4tk5wdaqwvtxpylxrduresdbd2xkoqm"Provider Options
:tags([%{"name" => string, "value" => string}, ...]) - tags to add to the email:data(map) - data to be used in the template language:transactional(boolean) - indicates if the email is transactional:template_id(string) - id of the template to use
Summary
Functions
Callback implementation for Swoosh.Adapter.deliver/2.
Callback implementation for Swoosh.Adapter.deliver_many/2.
Callback implementation for Swoosh.Adapter.validate_config/1.
Callback implementation for Swoosh.Adapter.validate_dependency/0.
Functions
Callback implementation for Swoosh.Adapter.deliver/2.
Callback implementation for Swoosh.Adapter.deliver_many/2.
Callback implementation for Swoosh.Adapter.validate_config/1.
Callback implementation for Swoosh.Adapter.validate_dependency/0.