summaryrefslogtreecommitdiff
path: root/program/include/rcube_message.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-07 08:52:05 +0000
committeralecpl <alec@alec.pl>2010-10-07 08:52:05 +0000
commitf22ea7ba1875863890b486db3e5f448f99c1debc (patch)
treec13218570f467c72076f9e6f31c7a9d49fc783d4 /program/include/rcube_message.php
parent9db4ca92efc620fa5d38f53557e75e9a8e345047 (diff)
- Support SMTP Delivery Status Notifications - RFC3461 (#1486142)
Diffstat (limited to 'program/include/rcube_message.php')
-rw-r--r--program/include/rcube_message.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index dfccb36e9..fd42e4ad4 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -399,9 +399,9 @@ class rcube_message
if ($part_orig_mimetype == 'message/rfc822' && !empty($mail_part->filename))
$this->attachments[] = $mail_part;
}
- // part text/[plain|html] OR message/delivery-status
+ // part text/[plain|html] or delivery status
else if ((($part_mimetype == 'text/plain' || $part_mimetype == 'text/html') && $mail_part->disposition != 'attachment') ||
- $part_mimetype == 'message/delivery-status' || $part_mimetype == 'message/disposition-notification'
+ in_array($part_mimetype, array('message/delivery-status', 'text/rfc822-headers', 'message/disposition-notification'))
) {
// Allow plugins to handle also this part
$plugin = $this->app->plugins->exec_hook('message_part_structure',