| 
@@ -994,7 +994,7 @@ class Imap { | 
 | 
@@ -994,7 +994,7 @@ class Imap { | 
| 
994
 | 
         if(!is_resource($this->socket)){
 | 
994
 | 
         if(!is_resource($this->socket)){
 | 
| 
995
 | 
             $this->timeout = $timeout ? : 30;
 | 
995
 | 
             $this->timeout = $timeout ? : 30;
 | 
| 
996
 | 
             // 链接服务器
 | 
996
 | 
             // 链接服务器
 | 
| 
997
 | 
-            $this->socket = stream_socket_client($this->host, $errno, $error, $this->timeout);
 | 
997
 | 
+            $this->socket = @stream_socket_client($this->host, $errno, $error, $this->timeout);
 | 
| 
998
 | 
 
 | 
998
 | 
 
 | 
| 
999
 | 
             if($error){
 | 
999
 | 
             if($error){
 | 
| 
1000
 | 
                 throw new \Exception("socket error: {$error}");
 | 
1000
 | 
                 throw new \Exception("socket error: {$error}");
 |