php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: clark at electrobeat dot dk
New email:
PHP Version: OS:

 

 [2016-03-13 01:57 UTC] clark at electrobeat dot dk
Description:
------------
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..
http://stackoverflow.com/questions/35963146/imap-parse-mail-subtype-plain-html

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
http://us3.php.net/manual/en/function.imap-fetchbody.php#31685


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-16 12:57 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-16 12:57 UTC] cmb@php.net
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] <https://www.php.net/supported-versions.php>
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC