|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: clark at electrobeat dot dk
New email:
PHP Version: OS:


 [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: Mon May 17 04:01:23 2021 UTC