Swoosh v0.1.0 Swoosh.Adapter behaviour

Specification of the email delivery adapter.

Summary

Callbacks

deliver(%, config)

Specs

deliver(%Swoosh.Email{assigns: term, attachments: term, bcc: term, cc: term, from: term, headers: term, html_body: term, private: term, provider_options: term, reply_to: term, subject: term, text_body: term, to: term}, config) ::
  :ok |
  {:ok, term} |
  {:error, term}