ex_postmark v1.0.1 ExPostmark.Adapter behaviour

Specification of the email delivery adapter.

Summary

Callbacks

Delivers an email

Types

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

Callbacks

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

Delivers an email.