作者 邓超

x

... ... @@ -385,10 +385,11 @@ class Body {
$result[0] = $this->getTag($item['body'],'Content-ID:');
if (!empty($result[0])){
$data['content-id'] = explode('<',$result[0]);
$data['content-id'] = explode(' ',trim($result[0]));
$data['content-id'] = $data['content-id'][1];
$data['content-id'] = trim($data['content-id']);
$data['content-id'] = trim($data['content-id'],'>');
$data['content-id'] = @trim($data['content-id']);
$data['content-id'] = @trim($data['content-id'],'>');
$data['content-id'] = @trim($data['content-id'],'<');
$item['body'] = str_replace($result[0],'',$item['body']);
}
... ...