Swoosh v0.20.0 Swoosh.Adapter behaviour View Source

Specification of the email delivery adapter.

Link to this section Summary

Callbacks

Delivers an email with the given config

Link to this section Types

Link to this section Callbacks

Link to this callback deliver(email, config) View Source
deliver(email(), config()) :: {:ok, term()} | {:error, term()}

Delivers an email with the given config.