Mjmleex v0.1.0 Mjmleex View Source
Renders EEx to MJML and MJML to HTML
How to use:
- Install the MJML globally
- Create template with mjml.eex extension
- Render the template:
Mjmleex.render(PageView, "mail.mjml", %{name: 'John Smith'})
- Send recived html via email
Link to this section Summary
Types
Template assigns
Html string
Phoenix view module wich contains email template
Email template name (like mail.mjml.eex)
Link to this section Types
Link to this section Functions
Specs
render(view_module(), view_template(), assigns()) :: html()