Skip to content
Snippets Groups Projects
Commit aaf1b747 authored by Jared Hancock's avatar Jared Hancock
Browse files

mail: Support 'multipart/relative' content type

Which seems to be used by recent versions of Andriod OS. It appears to be a
synonym of `multipart/related`
parent 4752178b
Branches
Tags
No related merge requests found
...@@ -307,6 +307,7 @@ class Mail_mimeDecode extends PEAR ...@@ -307,6 +307,7 @@ class Mail_mimeDecode extends PEAR
case 'multipart/digest': case 'multipart/digest':
case 'multipart/alternative': case 'multipart/alternative':
case 'multipart/related': case 'multipart/related':
case 'multipart/relative':
case 'multipart/mixed': case 'multipart/mixed':
if(!isset($content_type['other']['boundary'])){ if(!isset($content_type['other']['boundary'])){
$this->_error = 'No boundary found for ' . $content_type['value'] . ' part'; $this->_error = 'No boundary found for ' . $content_type['value'] . ' part';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment