View Source Bamboo.TestAdapter (bamboo v2.3.1)
Used for testing email delivery.
No emails are sent, instead a message is sent to the current process and can
be asserted on with helpers from Bamboo.Test
.
Example config
# Typically done in config/test.exs
config :my_app, MyApp.Mailer,
adapter: Bamboo.TestAdapter
# Define a Mailer. Typically in lib/my_app/mailer.ex
defmodule MyApp.Mailer do
use Bamboo.Mailer, otp_app: :my_app
end
Summary
Functions
Callback implementation for Bamboo.Adapter.handle_config/1
.
Functions
Callback implementation for Bamboo.Adapter.handle_config/1
.