|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71811 Its not possible to retrieve the text/body from a bounced email with the subtyp
Submitted: 2016-03-13 01:57 UTC Modified: 2020-10-25 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: clark at electrobeat dot dk Assigned: cmb (profile)
Status: No Feedback Package: IMAP related
PHP Version: 5.6.19 OS: Debian
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
5 + 6 = ?
Subscribe to this entry?

 [2016-03-13 01:57 UTC] clark at electrobeat dot dk
Its not possible to retrieve the text/body from a bounced email with the subtype RFC822

$body_plain = imap_fetchbody($this->stream, $this->msgno, '3.1.1');
$body_html = imap_fetchbody($this->stream, $this->msgno, '3.1.2');

Have created a stackoverflow here..

And I doesn't seem to be the only one with the problem.. Look at this 12 years old user comment.. I don't think the bug has ever been fixed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-16 12:57 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-16 12:57 UTC]
Well, the stackoverflow question appears to be no longer
available, and I haven't been able to reproduce issues with
imap_fetchbody() and message/rfc822 so far.  If you can still
reproduce these issues with any of the actively supported PHP
versions[1], could you please make a message available somewhere,
which exhibits this behavior?

[1] <>
 [2020-10-25 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jan 19 06:01:23 2021 UTC