MailServiceProvider
Corex\Email\MailServiceProvider · class · Add-ons layer
Boots the mail engine: binds the headless cores (renderer, header guard, recipient resolver) and the boundary (driver, log repository, user directory + the MailService), binds the corex-core Mailer seam to this engine, and on the boot pass registers the email-log CPT and the default templates.
Public API
Section titled “Public API”register(): void
Section titled “register(): void”boot(): void
Section titled “boot(): void”runQueuedSend(array $payload): void
Section titled “runQueuedSend(array $payload): void”Process one queued mail send, through whichever dispatcher is bound. Resolves it lazily so boot never builds the mail stack.
registerEmailLogPostType(): void
Section titled “registerEmailLogPostType(): void”The non-public audit store for email sends.
registerEmailStudio(): void
Section titled “registerEmailStudio(): void”Register private Studio persistence and idempotently install available layouts.