#48259 [Opn->Csd]: imap_fetchstructure(), wrong primary body type table

From: Date: Thu, 19 Nov 2009 10:45:07 +0000
Subject: #48259 [Opn->Csd]: imap_fetchstructure(), wrong primary body type table
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3225@lists.php.net to get a copy of this message
ID: 48259 Updated by: vrana@php.net Reported By: carsten_sttgt at gmx dot de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-05-13 10:18:00] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48259&edit=1

« previous php.doc.bugs (#3225) next »