Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
BrendonKoz committed Jun 4, 2015
1 parent 14e4467 commit 06be20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fMailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 06be20f

Please sign in to comment.