tereta / queue-email
Asynchronous email transport for the Tereta Framework: a Sender strategy that publishes prepared email payloads onto a queue (Kafka via tereta/queue) and a consumer-side message that hands them back to the configured Email sender.
1.0.2
2026-04-28 22:43 UTC
Requires
- php: >=8.4
- tereta/core: ^1.0
- tereta/di: ^1.0
- tereta/email: ^1.0
- tereta/queue: ^1.0
README
π Π ΡΡΡΠΊΠΈΠΉ | English
Overview
Asynchronous email transport for the Tereta Framework. Plugs into
tereta/email as a Sender strategy that publishes prepared payloads
onto the queue (tereta/queue); on the consumer side, the message
hands the payload back to the configured Email sender for actual
delivery.
Strategies\Queueβ Sender strategy. Validates and sanitises recipient/subject/headers, then dispatches aServices\MessagethroughTereta\Queue\Services\Producer.Services\MessageβTereta\Queue\Interfaces\Messageimplementation. Topic:email. Onprocess()re-resolves the default Email sender and callssend().Module::register()β registers the strategy onTereta\Email\Factories\Sender.
Installation
composer require tereta/queue-email
Author and License
Author: Tereta Alexander
Website: tereta.dev
License: Apache License 2.0. See LICENSE.
www.ββββββββββββββββββββββββ βββββββββββββββββ ββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββ
βββ ββββββ ββββββββββββββ βββ ββββββββ
βββ ββββββ ββββββββββββββ βββ ββββββββ
βββ βββββββββββ βββββββββββ βββ βββ βββ
βββ βββββββββββ βββββββββββ βββ βββ βββ
.dev
Copyright (c) 2024-2026 Tereta Alexander