作者 邓超

x

@@ -385,10 +385,11 @@ class Body { @@ -385,10 +385,11 @@ class Body {
385 385
386 $result[0] = $this->getTag($item['body'],'Content-ID:'); 386 $result[0] = $this->getTag($item['body'],'Content-ID:');
387 if (!empty($result[0])){ 387 if (!empty($result[0])){
388 - $data['content-id'] = explode('<',$result[0]); 388 + $data['content-id'] = explode(' ',trim($result[0]));
389 $data['content-id'] = $data['content-id'][1]; 389 $data['content-id'] = $data['content-id'][1];
390 - $data['content-id'] = trim($data['content-id']);  
391 - $data['content-id'] = trim($data['content-id'],'>'); 390 + $data['content-id'] = @trim($data['content-id']);
  391 + $data['content-id'] = @trim($data['content-id'],'>');
  392 + $data['content-id'] = @trim($data['content-id'],'<');
392 393
393 $item['body'] = str_replace($result[0],'',$item['body']); 394 $item['body'] = str_replace($result[0],'',$item['body']);
394 } 395 }