Log in
Model

SmtpTransportType

Magento\Email\Model\Config\Source\SmtpTransportType

What it does

This class provides configuration options for email transport types in Magento 2's admin panel.

Developers use this as a source model in system.xml to populate dropdown fields, allowing administrators to choose between Sendmail and SMTP as their email delivery method.

Public Methods

  • toOptionArray()