PHP 4.0 Bug #7497: imap_fetchbody function fails with forwarded messages.
| From: | jmoore@php.net | Date: | Sat, 28 Oct 2000 00:47:21 +0000 |
| Subject: | PHP 4.0 Bug #7497: imap_fetchbody function fails with forwarded messages. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36153@lists.php.net to get a copy of this message | ||
From: jmoore@php.net
Operating system: *
PHP version: 4.0.0
PHP Bug Type: IMAP related
Bug description: imap_fetchbody function fails with forwarded messages.
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
--
Edit Bug report at: http://bugs.php.net/?id=7497&edit=1