Permalink
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`
  • Loading branch information...
1 parent 4752178 commit aaf1b74725a4b1b879599b50b4036618cff74d33 @greezybacon greezybacon committed May 21, 2015
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/pear/Mail/mimeDecode.php
@@ -307,6 +307,7 @@ function _decode(&$headers, &$body, $default_ctype = 'text/plain')
case 'multipart/digest':
case 'multipart/alternative':
case 'multipart/related':
+ case 'multipart/relative':
case 'multipart/mixed':
if(!isset($content_type['other']['boundary'])){
$this->_error = 'No boundary found for ' . $content_type['value'] . ' part';

0 comments on commit aaf1b74

Please sign in to comment.