|
|
@@ -60,10 +60,16 @@ return [
|
|
|
'useFileTransport' => true, // true(缓存到文件中) false(发送邮件)
|
|
|
'transport' => [
|
|
|
'class' => 'Swift_SmtpTransport',
|
|
|
- 'host' => 'mail.authsmtp.com',
|
|
|
- 'port' => 325,
|
|
|
- 'username' => 'ac71555',
|
|
|
- 'password' => 'I1j-MKi-fJ8-nHb',
|
|
|
+// 'host' => 'mail.authsmtp.com',
|
|
|
+// 'port' => 325,
|
|
|
+// 'username' => 'ac71555',
|
|
|
+// 'password' => 'I1j-MKi-fJ8-nHb',
|
|
|
+// 'encryption' => 'TLS',
|
|
|
+
|
|
|
+ 'host' => 'smtp.163.com',
|
|
|
+ 'port' => 465,
|
|
|
+ 'username' => '18511880790@163.com',
|
|
|
+ 'password' => 'YOUSSWQHISDSWPVB',
|
|
|
'encryption' => 'TLS',
|
|
|
],
|
|
|
'messageConfig' => [
|