Expand description
Mail rendered from templates, queued with a handler’s commit and sent by a job, so a request never waits on a mail server.
Modules§
- testing
- web
- What reaches sofie-mail over HTTP: unsubscribes from bulk mail and the mail provider’s reports of bounces and complaints, each suppressing an address.
Structs§
- Address
- Written into headers and SMTP commands as it is, so it holds nothing that could end either.
- Body
- Mailer
- Only resolved as an argument: a handler’s mails are sent once its outcome commits.
- Setup
- What every mail is sent with:
sofie::runreads it fromSOFIE_MAIL_*, sofie-testing makes a fake. - Smtp
Settings - Suppression
- Template
- A template the build script compiled, keyed
<crate>/<name>after its filemails/<name>.html.
Enums§
Constants§
- UNSUBSCRIBE_
PATH - Where a bulk mail’s unsubscribe link goes, below the app’s public URL.