roundcubemail/plugins/enigma/lib/enigma_engine.php
private function parse_body(&$body)
    {
        // Mail_mimeDecode need \r\n end-line, but gpg may return \n
        $body = preg_replace('/\r?\n/', "\r\n", $body);

        // parse the body into structure
        $struct = rcube_mime::parse_message($body);

        return $struct;
    }
private function parse_body(&$body)
    {
        // Mail_mimeDecode need \r\n end-line, but gpg may return \n
        $body = preg_replace('/\r?\n/', "\r\n", $body);

        // parse the body into structure
        $struct = rcube_mime::parse_message($body);

        return $struct;
    }
private function parse_body ( & $ body ) { // Mail_mimeDecode need \r\n end-line, but gpg may return \n $ body = preg_replace ( '/\r?\n/' , "\r\n" , $ body ) ; // parse the body into structure $ struct = rcube_mime :: parse_message ( $ body ) ; return $ struct ; }
Parse decrypted message body into structure

@param string Message body

@return array Message structure
Parse decrypted message body into structure