View Source Franklin.Mailer (Franklin v0.1.0)

Link to this section Summary

Link to this section Functions

Link to this function

deliver(email, config \\ [])

View Source
@spec deliver(Swoosh.Email.t(), Keyword.t()) :: {:ok, term()} | {:error, term()}
Link to this function

deliver!(email, config \\ [])

View Source
@spec deliver!(Swoosh.Email.t(), Keyword.t()) :: term() | no_return()
Link to this function

deliver_many(emails, config \\ [])

View Source
@spec deliver_many(
  [
    %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()
    }
  ],
  Keyword.t()
) :: {:ok, term()} | {:error, term()}