View Source Legendary.CoreEmail (Legendary v8.2.5)
The core library for email in the application. The functions here can be composed in the application to send different emails.
Link to this section Summary
Link to this section Functions
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.