Bamboo Sendcloud Adapter v0.2.0 Bamboo.SendcloudAdapter

Sends email using Sendcloud’s API.

Use this adapter to send emails through Sendcloud’s API. Requires an API user and an API key are set in the config.

Example config

# In config/config.exs, or config.prod.exs, etc.
config :my_app, MyApp.Mailer,
  adapter: Bamboo.SendcloudAdapter,
  api_user: "my_api_user",
  api_key: "my_api_key"

# Define a Mailer. Maybe in lib/my_app/mailer.ex
defmodule MyApp.Mailer do
  use Bamboo.Mailer, otp_app: :my_app
end

Summary

Functions

deliver(email, config)

Callback implementation for Bamboo.Adapter.deliver/2.