zhangdehua před 1 rokem
rodič
revize
47de23f99a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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