semitexa / mail
Semitexa Mail — outbound email transport with SMTP, queue-safe delivery, Twig rendering, and storage-backed attachments
Requires
- php: ^8.4
- semitexa/core: >=2026.09.13.1915 || dev-master
- semitexa/orm: *
- semitexa/ssr: *
- semitexa/storage: *
Requires (Dev)
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2026.10.08.0620
- 2026.09.27.0404
- 2026.09.23.1717
- 2026.09.13.1915
- 2026.09.11.1941
- 2026.09.08.2003
- 2026.09.05.1548
- 2026.08.04.2028
- 2026.07.06.1438
- 2026.06.21.0352
- 2026.05.08.1640
- 2026.04.26.0639
- 2026.04.14.1121
- 2026.04.13.0911
- 2026.04.12.1209
- 2026.04.05.0855
- 2026.04.03.1240
- 0.0.4
- v0.0.3
- dev-develop
This package is auto-updated.
Last update: 2026-10-19 20:26:15 UTC
README
Outbound email transport with SMTP, queue-safe delivery, Twig rendering, and storage-backed attachments.
Install
Included in every project created by the installer (https://semitexa.com/install.sh).
Purpose
Handles email composition and delivery. Supports multiple transport backends, MIME message construction with attachments from the storage layer, and Twig-based template rendering for rich email content.
Role in Semitexa
Depends on semitexa/core, semitexa/orm, semitexa/ssr, and semitexa/storage. Uses ORM for queue-safe persistence, SSR for Twig template rendering, and Storage for resolving attachment references to file content.
Key Features
SmtpMailTransportwith TLS and authenticationFakeMailTransportandNullMailTransportfor testingMailTransportRegistryfor multi-transport routingMimeBuilderfor standards-compliant MIME construction- Storage-backed attachments via
semitexa/storage - Queue-safe message delivery
Worker
Queued mail is delivered by a dedicated worker that does not start with the web server:
bin/semitexa mail:work [transport] [queue] # transport defaults from EVENTS_ASYNC, queue defaults to "mail"