diff --git a/apps/advanced/environments/dev/common/config/main-local.php b/apps/advanced/environments/dev/common/config/main-local.php index dc1233a..d488438 100644 --- a/apps/advanced/environments/dev/common/config/main-local.php +++ b/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, ], ], diff --git a/apps/basic/config/web.php b/apps/basic/config/web.php index f9013d8..7fee63a 100644 --- a/apps/basic/config/web.php +++ b/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' => [