Commit df65a0f9 by Carsten Brandt

added explicit comment about file transport to mail config

fixes #3694
parent ea6d7bb4
...@@ -11,6 +11,9 @@ return [ ...@@ -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,
], ],
], ],
......
...@@ -19,6 +19,9 @@ $config = [ ...@@ -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' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment