Explorar o código

added explicit comment about file transport to mail config

fixes #3694
Carsten Brandt %!s(int64=11) %!d(string=hai) anos
pai
achega
2dedb6aa2c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      config/web.php

+ 3 - 0
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' => [