php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #62813 imap_fetchbody() manual claims to return "envelope" and "internal date"
Submitted: 2012-08-13 21:32 UTC Modified: 2017-01-28 12:08 UTC
From: thomas at landauer dot at Assigned:
Status: Open Package: IMAP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-08-13 21:32 UTC] thomas at landauer dot at
Description:
------------
---
From manual page: http://www.php.net/function.imap-fetchstructure#refsect1-function.imap-fetchstructure-returnvalues
---

The first sentence contains 3 errors:
"Returns an object includes the envelope, internal date, size, flags and body structure along with a similar object for each mime attachment."

1) Should be "Returns an object THAT includes..."
2) What do you mean by "envelope"? I can't see anything from the envelope (i.e. the SMTP commands) in the objects list.
3) Where is the "internal date" in the objects list? This is the very thing I was looking for, so if you have any hints on how to get the INTERNALDATE attribute of the message, please let me know :-)
4) "mime" should probably be spelled as "MIME"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 12:08 UTC] cmb@php.net
-Package: Documentation problem +Package: IMAP related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Mar 23 00:01:26 2019 UTC