- Fix attachments of type message/rfc822 are not listed on attachments list
| | |
| | | =========================== |
| | | |
| | | - Plugin API: Add 'pass' argument in 'authenticate' hook (#1487134) |
| | | - Fix attachments of type message/rfc822 are not listed on attachments list |
| | | |
| | | RELEASE 0.5-BETA |
| | | ---------------- |
| | |
| | | // attachment encapsulated within message/rfc822 part needs further decoding (#1486743) |
| | | else if ($part_orig_mimetype == 'message/rfc822') { |
| | | $this->parse_structure($mail_part, true); |
| | | |
| | | // list as attachment as well (mostly .eml) |
| | | if (!empty($mail_part->filename)) |
| | | $this->attachments[] = $mail_part; |
| | | } |
| | | // is a regular attachment (content-type name regexp according to RFC4288.4.2) |
| | | else if (preg_match('/^[a-z0-9!#$&.+^_-]+\/[a-z0-9!#$&.+^_-]+$/i', $part_mimetype)) { |