Ver Fonte

Weenier utc项目部署 0625

wesmiler há 3 anos atrás
pai
commit
39376dcc57
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Services/EmailService.php

+ 1 - 1
app/Services/EmailService.php

@@ -88,7 +88,7 @@ class EmailService extends BaseService
             $mail = new PHPMailer(true);
             $mail->CharSet ="UTF-8";                                         //设定邮件编码
             $mail->SMTPDebug = 0;                                            //调试模式输出:0 不输出,2 输出
-            $mail->Timeout = 20;                                            //超时
+            $mail->Timeout = 10;                                            //超时
             $mail->isSMTP();                                                 //使用SMTP
             $mail->Host = $this->config['host'];                                     // SMTP服务器:以QQ为例
             $mail->SMTPAuth = true;                                          // 允许 SMTP 认证