Skip to content

Commit 06be20f

Browse files
committed
Fixes an issue with how Microsoft Exchange (2010) and Outlook Web Access incorrectly handles some file attachment types and therefore cause the attachment to be seen as an inline attachment, but with no ability to recover the file from the body.
1 parent 14e4467 commit 06be20f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fMailbox.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ static private function handlePart($info, $structure)
219219
}
220220

221221
// This indicates a content-id which is used for multipart/related
222-
if ($structure['content_id']) {
222+
if ($structure['content_id'] && $structure['disposition'] == 'inline') {
223223
if (!isset($info['related'])) {
224224
$info['related'] = array();
225225
}

0 commit comments

Comments
 (0)