A PHP component/library.

Installs: 120

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/webservco/mail

This package is auto-updated.

Last update: 2025-09-22 10:17:48 UTC


README

A PHP component/library for async email sending.

Setup

Usage

Adding email to sending queue

  1. Create a \WebServCo\Mail\DataTransfer\MailItem DTO.

  2. Store it: WebServCo\Mail\Contract\Service\Storage\MailItemStorageInterface.storeMailItem(MailItem $mailItem): int.

Sending emails

  • Use a scheduled job;
  • Process: MailingProcessorInterface.process();
  • Get report: MailingProcessorInterface.getItemsProcessingReport();

See also

MailingTableNameServiceFromConfig - a default MailingTableNameServiceInterface implementation.

TODO

  • Add support for attachments;