Expand description
Sending email. The log mailer prints the message, which is what self-hosters without an email
server use (spec section 8: “without an email server, login links are printed to the logs”);
the SMTP mailer sends through SMTP_URL; tests capture messages.
Structs§
- Smtp
Mailer - A configured SMTP connection.
Enums§
Constants§
- SMTP_
TIMEOUT - How long one SMTP connect or command may take before the send fails (and the job retries). lettre’s own default is 60 s, long enough to hold the single job runner on a hung server.