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