|
|
@@ -55,10 +55,8 @@ return [
|
|
|
'mailer' => [
|
|
|
'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, // true(缓存到文件中) false(发送邮件)
|
|
|
+ 'useFileTransport' => false,
|
|
|
+ 'enableSwiftMailerLogging' => true,
|
|
|
'transport' => [
|
|
|
'class' => 'Swift_SmtpTransport',
|
|
|
'host' => 'mail.authsmtp.com',
|
|
|
@@ -66,12 +64,6 @@ return [
|
|
|
'username' => 'ac71555',
|
|
|
'password' => 'I1j-MKi-fJ8-nHb',
|
|
|
'encryption' => 'TLS',
|
|
|
-
|
|
|
-// 'host' => 'smtp.163.com',
|
|
|
-// 'port' => 465,
|
|
|
-// 'username' => '18511880790@163.com',
|
|
|
-// 'password' => 'YOUSSWQHISDSWPVB',
|
|
|
-// 'encryption' => 'SSL',
|
|
|
],
|
|
|
],
|
|
|
'swooleAsyncTimer' => [
|