From c88016f9d88db3f0ef0b168323283f4387e00179 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 30 Dec 2013 09:16:39 -0500 Subject: [PATCH] added default mail config to application. --- framework/yii/base/Application.php | 1 + 1 file changed, 1 insertion(+) 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'], ]);