Displaying 1 result from an estimated 1 matches for "find_part".
2004 Apr 03
0
Bug fix - message/rfc822 attachments
...ot;n" is the number for the
message/rfc822 part, returns the wrong information. It returns the message
without the headers, whereas it should return the entire rfc822 attachment.
FETCH BODY[n.MIME] doesn't appear to return the MIME headers for the part
either.
This happens because the find_part() function always steps down into the
child when the type of the part is RFC822. It should only do this if the
request is for a sub-part, or for HEADER. Otherwise it should stay at the
current level.
I have to say the IMAP protocol is a bit perverse in the way implicit
nesting of rfc822 messag...