소스 검색

邮件检查

zhangdehua 1 년 전
부모
커밋
47de23f99a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/service/passport/MailCaptcha.php

+ 1 - 1
app/api/service/passport/MailCaptcha.php

@@ -69,7 +69,7 @@ class MailCaptcha extends BaseService
         $mail = new PHPMailer(true);
         try {
             //Server settings
-            $mail->SMTPDebug = SMTP::DEBUG_OFF;//DEBUG_SERVER                   //Enable verbose debug output
+            $mail->SMTPDebug = SMTP::DEBUG_SERVER;//DEBUG_OFF                   //Enable verbose debug output
             $mail->isSMTP();                                            //Send using SMTP
             $mail->Host = 'smtp.163.com';                     //Set the SMTP server to send through
             $mail->SMTPAuth = true;                                   //Enable SMTP authentication