Hello,
I have here (message.txt.gz) a problematic message. When trying to forward it, the body of the message disappears.
I have a patch that fixed that, but am not 100% sure I'm doing the right thing.
The message seems to have no mime parts, so $IMAP->get_message_part() fails to retrieve part number one.
Also attached is the patch (no_parts_fix.patch).
Can anybody comment if this is the right fix?
Robin
--- program/steps/mail/func.inc (revision 335) +++ program/steps/mail/func.inc (working copy) @@ -1247,6 +1247,9 @@
if (!is_array($message_struct['parts'])) return FALSE;
if (count($message_struct['parts'])<1)
return $IMAP->get_body($message_struct['UID']);
// check all message parts foreach ($message_struct['parts'] as $pid => $part)