diff --git a/framework/yii/base/Application.php b/framework/yii/base/Application.php index 32e63da..72afa69 100644 --- a/framework/yii/base/Application.php +++ b/framework/yii/base/Application.php @@ -489,6 +489,7 @@ abstract class Application extends Module 'errorHandler' => ['class' => 'yii\base\ErrorHandler'], 'formatter' => ['class' => 'yii\base\Formatter'], 'i18n' => ['class' => 'yii\i18n\I18N'], + 'mail' => ['class' => 'yii\swiftmailer\Mailer'], 'urlManager' => ['class' => 'yii\web\UrlManager'], 'view' => ['class' => 'yii\web\View'], ]);