Browse Source

added explicit comment about file transport to mail config

fixes #3694
Carsten Brandt 11 năm trước cách đây
mục cha
commit
2dedb6aa2c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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' => [