Bug #16141 Updated: imap_fetchstructure does not return the right Content-Type
ID: 16141
Updated by: sniper@php.net
Reported By: sethdart@yahoo.com
Status: Closed
-Bug Type: Mailparse related
+Bug Type: IMAP related
Operating System: Linux 2.4.9-21smp
PHP Version: 4.1.2
New Comment:
reclassified
Previous Comments:
------------------------------------------------------------------------
[2002-03-18 07:06:09] derick@php.net
It's not a bug in PHP and IMO nto a bug at all. If it is a bug, it's in
the cclient library you are using, or even your IMAP server.
------------------------------------------------------------------------
[2002-03-18 06:46:12] sethdart@yahoo.com
It only appears if the mail header does
not contains the MIME-Version line !
------------------------------------------------------------------------
[2002-03-18 06:37:22] sethdart@yahoo.com
If the mail Content-Type is text/html
(and there's no MIME part)
imap_fetchstructure always return
text/plain
but if the mail contains multiple parts, there's
no problem
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16141&edit=1
Thread (5 messages)