Doc #62813 [Opn->Ver]: imap_fetchstructure() manual claims to return "envelope" and "internal date"
| From: | cmb@php.net | Date: | Thu, 08 Oct 2020 15:38:59 +0000 |
| Subject: | Doc #62813 [Opn->Ver]: imap_fetchstructure() manual claims to return "envelope" and "internal date" | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17974@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62813&edit=1
ID: 62813
Updated by: cmb@php.net
Reported by: thomas at landauer dot at
-Summary: imap_fetchbody() manual claims to return "envelope"
and "internal date"
+Summary: imap_fetchstructure() manual claims to return
"envelope" and "internal date"
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: IMAP related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
| "Returns an object includes the envelope, internal date, size,
| flags and body structure along with a similar object for each mime
| attachment."
That part is pretty much nonsense.
Previous Comments:
------------------------------------------------------------------------
[2012-08-13 21:32:15] 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"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62813&edit=1