0
0

main-local.php 399 B

12345678910111213
  1. <?php
  2. return [
  3. 'components' => [
  4. 'mailer' => [
  5. 'class' => 'yii\swiftmailer\Mailer',
  6. 'viewPath' => '@common/mail',
  7. // send all mails to a file by default. You have to set
  8. // 'useFileTransport' to false and configure a transport
  9. // for the mailer to send real emails.
  10. 'useFileTransport' => true,
  11. ],
  12. ],
  13. ];