php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48259 imap_fetchstructure(), wrong primary body type table
Submitted: 2009-05-13 10:18 UTC Modified: 2009-11-19 10:45 UTC
From: carsten_sttgt at gmx dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
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: carsten_sttgt at gmx dot de
New email:
PHP Version: OS:

 

 [2009-05-13 10:18 UTC] carsten_sttgt at gmx dot de
Description:
------------
Hallo,

in the documentation for imap_fetchstructure() [1], the table "Primary body type" is wrong. Maybe this depends on the c-client version? I have compared it with mail.h from imap-2007e.

And one change request for both tables. "other" should be replaced with "X-UNKNOWN".

Regards,
Carsten



Reproduce code:
---------------
[1] http://de.php.net/manual/en/function.imap-fetchstructure.php


Expected result:
----------------
Primary body type
0	TEXT
1	MULTIPART
2	MESSAGE
3	APPLICATION
4	AUDIO
5	IMAGE
6	VIDEO
7	MODEL
8	X-UNKNOWN

Transfer encodings
0	7BIT
1	8BIT
2	BINARY
3	BASE64
4	QUOTED-PRINTABLE
5	X-UNKNOWN


Actual result:
--------------
Primary body type
0	text
1	multipart
2	message
3	application
4	audio
5	image
6	video
7	other

Transfer encodings
0	7BIT
1	8BIT
2	BINARY
3	BASE64
4	QUOTED-PRINTABLE
5	OTHER


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-19 10:45 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2009-11-19 10:45 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290974
Log: Body types and encodings may vary (bug #48259)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 03:01:32 2024 UTC