alecpl
2010-05-20 c1439f925dbfbd20566337a0251a6b4e85e9a2f9
program/include/rcube_message.php
@@ -401,7 +401,6 @@
            $this->attachments[] = $tnef_part;
          }
        }
        // part is a file/attachment
        else if (preg_match('/^(inline|attach)/', $mail_part->disposition) ||
                 $mail_part->headers['content-id'] || (empty($mail_part->disposition) && $mail_part->filename)) {
@@ -421,6 +420,10 @@
              
            $this->inline_parts[] = $mail_part;
          }
          // attachment encapsulated within message/rfc822 part needs further decoding (#1486743)
          else if ($part_orig_mimetype == 'message/rfc822') {
            $this->parse_structure($mail_part, true);
          }
          // is a regular attachment
          else if (preg_match('!^[a-z0-9-.+]+/[a-z0-9-.+]+$!i', $part_mimetype)) {
            if (!$mail_part->filename)