Bamboo SendinBlue Adapter v0.4.0 Bamboo.SendinBlueAdapterV3 View Source
Sends email using SendinBlue's JSON API v3.0.
This module requires a v3 API key to work.
Based on https://github.com/biospank/bamboo_sendinblue (the SendinBlue V2 API adapter)
Reply-To field
To set the reply-to field, use put_header(email, "reply-to-email", "user@mail.com")
and optionally put_header(email, "reply-to-name", "The Name")
Example config
# In config/config.exs, or config.prod.exs, etc.
config :my_app, MyApp.Mailer,
adapter: Bamboo.SendinBlueAdapterV3,
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
Link to this section Summary
Functions
Callback implementation for Bamboo.Adapter.deliver/2
Callback implementation for Bamboo.Adapter.handle_config/1
Link to this section Functions
Link to this function
deliver(email, config) View Source
Callback implementation for Bamboo.Adapter.deliver/2
.
Link to this function
handle_config(config) View Source
Callback implementation for Bamboo.Adapter.handle_config/1
.
Link to this function