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' => [
'class' => 'yii\swiftmailer\Mailer',
'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,
],
],