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