added explicit comment about file transport to mail config

fixes #3694
This commit is contained in:
Carsten Brandt
2014-06-04 17:43:09 +02:00
parent ea6d7bb403
commit df65a0f9de
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ return [
'mail' => [ 'mail' => [
'class' => 'yii\swiftmailer\Mailer', 'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail', 'viewPath' => '@common/mail',
// send all mails to a file by default. You have to set
// 'useFileTransport' to false and configure a transport
// for the mailer to send real emails.
'useFileTransport' => true, 'useFileTransport' => true,
], ],
], ],

View File

@@ -19,6 +19,9 @@ $config = [
], ],
'mail' => [ 'mail' => [
'class' => 'yii\swiftmailer\Mailer', 'class' => 'yii\swiftmailer\Mailer',
// send all mails to a file by default. You have to set
// 'useFileTransport' to false and configure a transport
// for the mailer to send real emails.
'useFileTransport' => true, 'useFileTransport' => true,
], ],
'log' => [ 'log' => [