Swoosh v0.7.0 Swoosh.Adapter behaviour

Specification of the email delivery adapter.

Summary

Callbacks

Delivers an email with the given config

Types

email()
email() :: Email.t
t()
t() :: module

Callbacks

deliver(email, config)
deliver(email, config) :: {:ok, term} | {:error, term}

Delivers an email with the given config.