Log in
Model

EmailSenderHandler

Magento\Sales\Model\EmailSenderHandler

What it does

This class handles asynchronous email sending for sales entities (orders, invoices, shipments, creditmemos) through cron jobs.

Developers would use this when implementing or customizing the delayed email notification system in Magento, allowing emails to be queued and sent in batches rather than immediately during order processing.

It manages retry attempts, filters entities by store, and respects configuration settings for async email sending.

Public Methods

  • sendEmails()