ex_postmark v1.3.0 ExPostmark.Adapters.Test
An adapter that sends emails as messages to the current process. This is meant to be used during tests.
Example
# config/test.exs
config :sample, Sample.Mailer,
adapter: ExPostmark.Adapters.Test
# lib/sample/mailer.ex
defmodule Sample.Mailer do
use ExPostmark.Mailer, otp_app: :sample
end
Summary
Functions
Delivers an email.
Callback implementation for ExPostmark.Adapter.deliver/2
.