php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7497 imap_fetchbody function fails with forwarded messages.
Submitted: 2000-10-27 20:47 UTC Modified: 2001-04-27 18:52 UTC
From: jmoore@php.net Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.0 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 11 = ?
Subscribe to this entry?

 
 [2000-10-27 20:47 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-28 02:12 UTC] chagenbu@php.net
Duplicate of 7496.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 22:01:31 2024 UTC