diff --git a/fMailbox.php b/fMailbox.php index e4a6466f..c1ee5e96 100644 --- a/fMailbox.php +++ b/fMailbox.php @@ -219,7 +219,7 @@ static private function handlePart($info, $structure) } // This indicates a content-id which is used for multipart/related - if ($structure['content_id']) { + if ($structure['content_id'] && $structure['disposition'] == 'inline') { if (!isset($info['related'])) { $info['related'] = array(); }