Log in
Model

EmailSender

Magento\Sales\Model\AdminOrder\EmailSender

What it does

This class handles sending order and invoice confirmation emails when orders are created through the Magento admin panel.

Developers use this class when they need to programmatically send order confirmation emails and paid invoice emails to customers, particularly during admin-initiated order creation.

It provides centralized email sending with built-in error handling and user notifications if email delivery fails.

Public Methods

  • send()