Pow v0.1.0-alpha.4 Pow.Phoenix.Mailer.Mail View Source

Module that renders html and text version of e-mails.

Link to this section Summary

Functions

Returns a populated %Pow.Phoenix.Mailer.Mail{} map

Link to this section Types

Link to this type t() View Source
t() :: %Pow.Phoenix.Mailer.Mail{
  html: term(),
  subject: term(),
  text: term(),
  user: term()
}

Link to this section Functions

Link to this function new(conn, user, arg, assigns) View Source
new(Plug.Conn.t(), map(), {module(), atom()}, Keyword.t()) :: t()

Returns a populated %Pow.Phoenix.Mailer.Mail{} map.

If the configuration has :web_mailer_module, it will be used to find the template view module to call.