作者 邓超

新增邮箱代理服务器

@@ -85,7 +85,7 @@ class Login { @@ -85,7 +85,7 @@ class Login {
85 85
86 // 进行远程登录,验证 86 // 进行远程登录,验证
87 $mailClient = (new Mail($formData['email'],$formData['password'],$formData['imap'])); 87 $mailClient = (new Mail($formData['email'],$formData['password'],$formData['imap']));
88 - $mailClient->client->debug(true,'echo'); 88 +
89 $login = $mailClient->login(false); 89 $login = $mailClient->login(false);
90 if( $login === 0){ 90 if( $login === 0){
91 app()->e('login_error_imap'); 91 app()->e('login_error_imap');