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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
34 - 19 = ?
Subscribe to this entry?

 
 [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 Oct 22 06:01:30 2019 UTC