Log in
Model

SmtpSslType

Magento\Email\Model\Config\Source\SmtpSslType

What it does

This class provides SSL/TLS encryption options for SMTP email configuration in Magento 2.

Developers use this source model to populate dropdown menus in the admin panel where store administrators can select the security protocol (None, SSL, or TLS) for outgoing email server connections.

Public Methods

  • toOptionArray()