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: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: clark at electrobeat dot dk Assigned:
Status: Open Package: IMAP related
PHP Version: 5.6.19 OS: Debian
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Aug 20 09:01:28 2019 UTC