SenderInterface
Magento\Sales\Model\Order\Shipment\SenderInterface
What it does
This interface defines the contract for sending shipment notification emails to customers in Magento 2.
Developers implement this interface to customize how shipment confirmations are sent, including support for optional comments and synchronous/asynchronous email sending modes.
It's typically used when creating custom shipment notification handlers or modifying the default email sending behavior.
Public Methods
- send()