Model
EmailSender
Magento\Sales\Model\AdminOrder\EmailSender
What it does
This class handles sending order confirmation and invoice emails when orders are created through the Magento admin panel.
Developers use this when programmatically creating admin orders and need to notify customers via email, with built-in exception handling for mail failures that displays appropriate admin warnings.
Public Methods
- send()