Browse Source

added explicit comment about file transport to mail config

fixes #3694
tags/2.0.0-rc
Carsten Brandt 10 years ago
parent
commit
df65a0f9de
  1. 3
      apps/advanced/environments/dev/common/config/main-local.php
  2. 3
      apps/basic/config/web.php

3
apps/advanced/environments/dev/common/config/main-local.php

@ -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,
],
],

3
apps/basic/config/web.php

@ -19,6 +19,9 @@ $config = [
],
'mail' => [
'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,
],
'log' => [

Loading…
Cancel
Save