ex_postmark v1.3.0 ExPostmark.Adapter behaviour

Specification of the email delivery adapter.

Summary

Callbacks

Delivers an email

Types

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

Callbacks

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

Delivers an email.