summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_message.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index c3753b290..fac7fe86b 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -488,6 +488,11 @@ class rcube_message
else if ($structure->filename) {
$this->attachments[] = $structure;
}
+ // message is a single part non-text (without filename)
+ else if (preg_match('/application\//i', $mimetype)) {
+ $structure->filename = 'Part '.$structure->mime_id;
+ $this->attachments[] = $structure;
+ }
}