From: Michael M Slusarz Date: Thu, 28 May 2009 12:56:36 +0000 (-0600) Subject: Bug #8308: Correctly format canonical message parts X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b826408b393f24dbe147718357e6bbdbd361b960;p=horde.git Bug #8308: Correctly format canonical message parts --- diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index 4ecb58171..d52c79543 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -201,8 +201,8 @@ class IMP_Contents try { $res = $GLOBALS['imp_imap']->ob->fetch($this->_mailbox, $query, array('ids' => array($this->_index))); return empty($options['mimeheaders']) - ? $res[$this->_index]['bodypart'][$id] - : $res[$this->_index]['mimeheader'][$id] . $res[$this->_index]['bodypart'][$id]; + ? $res[$this->_index]['bodypart'][$id] . "\r\n" + : $res[$this->_index]['mimeheader'][$id] . "\r\n\r\n" . $res[$this->_index]['bodypart'][$id] . "\r\n"; } catch (Horde_Imap_Client_Exception $e) { return ''; }