zhangdehua hace 1 año
padre
commit
47de23f99a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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