Legendary.AuthWeb.Pow.Mailer (Legendary v2.12.0) View Source

Mailer module for Pow which links it to our well-styled defaults.

Link to this section Summary

Functions

Render an Phoenix template and set the body on the email.

Link to this section Functions

Link to this function

render(email, template, assigns \\ [])

View Source

Render an Phoenix template and set the body on the email.

Pass an atom as the template name (:welcome_email) to render HTML and plain text emails. Use a string if you only want to render one type, e.g. "welcome_email.text" or "welcome_email.html". Scroll to the top for more examples.