Transport
Magento\Email\Model\Transport
What it does
This class handles the actual sending of email messages in Magento 2 using Symfony Mailer.
Developers use this class when they need to send emails through either SMTP or sendmail transport methods, with configurable options like authentication, SSL/TLS encryption, and return path settings.
It retrieves email configuration from the store settings and creates the appropriate transport layer to deliver messages.
Public Methods
- getTransport()
- sendMessage()
- getMessage()