SenderBuilder
Magento\Sales\Model\Order\Email\SenderBuilder
What it does
SenderBuilder is responsible for constructing and sending transactional email messages for sales orders in Magento 2.
Developers use this class when they need to send order-related emails (like order confirmation, shipment, or invoice emails) to customers and optionally to additional recipients via BCC or separate copies.
It handles email template configuration, recipient management, and the actual sending of messages through Magento's transport layer.
Public Methods
- send()
- sendCopyTo()