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