yiisoft/yii2-swiftmailer API Documentation 2.0

This is the API Documentation for the yiisoft/yii2-swiftmailer extension. Here you will find detailed information about all classes provided by this extension. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 2.0 of the extension. You can use the dropdown menu on the top right to switch between versions.

Class Description
yii\swiftmailer\Logger Logger is a SwiftMailer plugin, which allows passing of the SwiftMailer internal logs to the Yii logging mechanism. Each native SwiftMailer log message will be converted into Yii 'info' log entry.
yii\swiftmailer\Mailer Mailer implements a mailer based on SwiftMailer.
yii\swiftmailer\Message Message implements a message class based on SwiftMailer.