ID: 7497 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Closed Bug Type: IMAP related PHP Version: 4.0.0 Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-10-27 20:47:21] [EMAIL PROTECTED] Fw from manual Errata: ------ [EMAIL PROTECTED] -------- Investigating and fighting with imap functions I think I've discovered that counting parts for imap_fetchbody function fails with forwarded messages. When I count parts (1, 2, 2.1 etc..) it seems that for a forwarded message insert one part more. For example the part counted as 2.1.2 is the part 2.2 for the imap function. With normal multipart messages do it well, but forwarded messages.Could anyone confirm that I think I dicovered? If is true take care about this class of message. ------------------------------------- ------ [EMAIL PROTECTED] ------------ [EMAIL PROTECTED] is right. With forward messages that have a text/plain (2.1.1) and text/html (2.1.2) subparts of a multipart/alternative part (2.1) the imap_fetchbody function returns nothing for parts 2.1.1 and 2,1,2, but returns the parts when a request is made for 2.1 and 2.2. Is this a bug? -------------------------------------- I am not familiar with IMAP and could not verify this but it seems bugish to me. James --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7497&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]