浏览代码

Weenier utc项目部署 0625

wesmiler 3 年之前
父节点
当前提交
39376dcc57
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 认证