Skip to content
Corex

EmailLogStore

Corex\Email\Log\EmailLogStore · interface · Add-ons layer

Records one delivery attempt’s outcome. The interface keeps the service free of the persistence boundary so it is headless-testable (the WordPress-backed implementation is the repository). Returns the audit record id, or null.

record(string $status, EmailMessage $message): ?int

Section titled “record(string $status, EmailMessage $message): ?int”