|
@@ -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
|