Bug #7497 Updated: imap_fetchbody function fails with forwarded messages.

From: Date: Fri, 27 Apr 2001 22:52:39 +0000
Subject: Bug #7497 Updated: imap_fetchbody function fails with forwarded messages.
Groups: php.dev 
Request: Send a blank email to php-dev+get-52637@lists.php.net to get a copy of this message
ID: 7497 Updated by: sniper Reported By: jmoore@php.net 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] jmoore@php.net Fw from manual Errata: ------ mamurillo@rslcom.es -------- 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. ------------------------------------- ------ owain@vaughan.com ------------ mamurillo@rslcom.es 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

« previous php.dev (#52637) next »