php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16141 imap_fetchstructure does not return the right Content-Type
Submitted: 2002-03-18 06:37 UTC Modified: 2002-03-18 09:15 UTC
From: sethdart at yahoo dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.1.2 OS: Linux 2.4.9-21smp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sethdart at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-03-18 06:37 UTC] sethdart at yahoo dot 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 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-18 06:46 UTC] sethdart at yahoo dot com
It only appears if the mail header does
not contains the MIME-Version line !
 [2002-03-18 07:06 UTC] 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 09:15 UTC] sniper@php.net
reclassified
 [2004-06-07 18:13 UTC] se at designlinks dot net
OK - this is a cclient library bug - what do we do get the guys on the case.

This bug is linked to Bug #13465: imap_fetchstructure problem
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC