Pow v0.1.0-alpha.1 Pow.Phoenix.Mailer.Template View Source

Module that builds mailer templates for Phoenix views using EEx with Phoenix.HTML.Engine.

Usage

defmodule PowExtension.Phoenix.Mailer.MailTemplate do
  use Pow.Phoenix.Mailer.Template

  template :mail, "Subject line", "Text content", "<p>HTML content</p>"
end

Link to this section Summary

Link to this section Functions

Link to this macro template(action, subject, text, html) View Source (macro)
template(atom(), binary(), binary(), binary()) :: Macro.t()