作者 邓超

x

... ... @@ -85,7 +85,7 @@ function start(){
// _echo($e->getMessage());
logs(
$e->getMessage().PHP_EOL.$e->getTraceAsString(),
LOG_PATH.'/'.$id['lists_id'].'.log'
LOG_PATH.'/'.$id['email_id'].'.log'
);
}
... ...
... ... @@ -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}");
... ...