View Source Plausible.Mailer (Plausible v0.0.1)

Summary

Types

@type result() :: :ok | {:error, :hard_bounce} | {:error, :unknown_error}

Functions

@spec deliver(any()) :: no_return()
Link to this function

deliver_later(email, opts \\ [])

View Source
Link to this function

deliver_later!(email, opts \\ [])

View Source
Link to this function

deliver_now(email, opts \\ [])

View Source
@spec deliver_now(Bamboo.Email.t(), Enum.t()) ::
  {:ok, Bamboo.Email.t()}
  | {:ok, Bamboo.Email.t(), any()}
  | {:error, Exception.t() | String.t()}
Link to this function

deliver_now!(email, opts \\ [])

View Source
@spec deliver_now!(Bamboo.Email.t(), Enum.t()) ::
  Bamboo.Email.t() | {Bamboo.Email.t(), any()}
@spec send(Bamboo.Email.t()) :: result()