Log in
Model

SenderBuilder

Magento\Sales\Model\Order\Email\SenderBuilder

What it does

This class builds and sends order-related emails in Magento 2, such as order confirmations, invoices, and shipment notifications.

Developers use this class when they need to send transactional emails to customers or BCC copies to store administrators.

It configures email templates with appropriate variables and handles both primary recipient emails and copy-to addresses.

Public Methods

  • send()
  • sendCopyTo()