Expand description
SMTP email client — lettre wrapper.
Sends HTML/plain emails via SMTP. The client is configured once from
config.toml [email] section and reused across all send_email calls.
§Providers
Preset providers auto-fill SMTP host/port/TLS settings:
gmail→ smtp.gmail.com:465 / TLSicloud→ smtp.mail.me.com:587 / STARTTLSfastmail→ smtp.fastmail.com:465 / TLSresend→ smtp.resend.com:587 / STARTTLS (API key as password)custom→ manual host/port/tls required
Structs§
- Send
Receipt - Receipt returned after a successful send.
- Smtp
Client - SMTP client — wraps lettre for sending emails.
Enums§
- Smtp
Provider - Preset SMTP provider configurations.
- SmtpTls
- SMTP transport type.