Jonas Meurer wrote: > On 29/08/2009 Jonas Meurer wrote: >> the PGP plugin needs access to the raw content of mime parts. >> verify_mime() requires the _exact_ raw content, not a stripped down, >> parsed or otherwise modified version. this is not possible yet. >> $this->get_part_content($mime_id) from rcube_message.php, and even >> iil_C_HandlePartBody($this->conn, $this->mailbox, $uid, true, $part) >> from rcube_imap.php give back stripped down versions of the content. >> i wonder whether it's possible to access the raw content at all. > > looked into that issue today and finally discovered that the way > roundcube mime parsing code doesn't support to fetch raw content of mime > parts.
Sure it does. There's also a step that displays the raw message code in the browser. You can use $RCMAIL->imap->get_raw_body($uid) to fetch the message source. For decoding the message structure without the support of the IMAP server we do not have a solution yet but there are some other problems that would require such a feature. After the 0.3 release I'll have a look into that. ~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/
