diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 10e3e70e67..a4a0097c13 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -1754,7 +1754,7 @@ class mail_compose if(($attachments = $mail_bo->getMessageAttachments($_uid,$_partID))) { //error_log(__METHOD__.__LINE__.':'.array2string($attachments)); foreach($attachments as $attachment) { - if (!($attachment['cid'] && preg_match("/image\//",$attachment['mimeType']))) + if (!($attachment['cid'] && preg_match("/image\//",$attachment['mimeType'])) || $attachment['disposition'] == 'attachment') { $this->addMessageAttachment($_uid, $attachment['partID'], $_folder,