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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thomas at landauer dot at
New email:
PHP Version: OS:

 

 [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: Tue Jul 23 13:01:26 2019 UTC