mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 23:09:10 +08:00
@@ -11,6 +11,9 @@ return [
|
|||||||
'mail' => [
|
'mail' => [
|
||||||
'class' => 'yii\swiftmailer\Mailer',
|
'class' => 'yii\swiftmailer\Mailer',
|
||||||
'viewPath' => '@common/mail',
|
'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,
|
'useFileTransport' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ $config = [
|
|||||||
],
|
],
|
||||||
'mail' => [
|
'mail' => [
|
||||||
'class' => 'yii\swiftmailer\Mailer',
|
'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,
|
'useFileTransport' => true,
|
||||||
],
|
],
|
||||||
'log' => [
|
'log' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user