Skip to main content

Module email

Module email 

Source
Expand description

Email sending for What projects.

Supports SMTP (via lettre) and API providers (Resend via reqwest). Email templates live in the project’s emails/ directory and are rendered through the same #variable# engine used for pages.

Structs§

EmailMessage
An email message ready to send.

Functions§

render_email_template
Render an email template from the emails/ directory.
send_email
Send an email using the configured transport.