Explorar el Código

feat: EK-1345: 发送email失败

kevinElken hace 8 meses
padre
commit
f73f882e41
Se han modificado 1 ficheros con 10 adiciones y 5 borrados
  1. 10 5
      common/config/main.php

+ 10 - 5
common/config/main.php

@@ -59,11 +59,16 @@ return [
             'enableSwiftMailerLogging' => true,
             'transport' => [
                 'class' => 'Swift_SmtpTransport',
-                'host' => 'mail.authsmtp.com',
-                'port' => 325,
-                'username' => 'ac71555',
-                'password' => 'I1j-MKi-fJ8-nHb',
-                'encryption' => 'TLS',
+                'host' => 'smtp.gmail.com',
+                'port' => 587,
+                'username' => 'zhangl18511880790@gmail.com',
+                'password' => 'zhangl1987@ASD',
+                'encryption' => 'SSL',
+//                'host' => 'mail.authsmtp.com',
+//                'port' => 325,
+//                'username' => 'ac71555',
+//                'password' => 'I1j-MKi-fJ8-nHb',
+//                'encryption' => 'TLS',
             ],
         ],
         'swooleAsyncTimer' => [