bamboo v0.3.2 Bamboo.LocalAdapter
Stores emails locally. Can be queried to see sent emails.
Use this adapter for storing emails locally instead of sending them. Emails are stored and can be read from Bamboo.SentEmail. Typically this adapter is used in the dev environment so emails are not delivered to real email addresses.
Example config
# In config/config.exs, or config/dev.exs, etc.
config :my_app, MyApp.Mailer,
adapter: Bamboo.LocalAdapter
# Define a Mailer. Maybe 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
.