php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20573 imap_headerinfo problem with multiple line headers
Submitted: 2002-11-22 09:03 UTC Modified: 2002-11-23 16:23 UTC
From: jonfray at mediation-telecom dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.3 OS: RH 7.1, Linux 2.4.9-34smp
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jonfray at mediation-telecom dot com
New email:
PHP Version: OS:

 

 [2002-11-22 09:03 UTC] jonfray at mediation-telecom dot com
Hi,

When a message header is encoded it is splitted
into multiple lines if it's too long.
But when I Call imap_headerinfo for this message,
I get the header on a unique line and 
imap_mime_header_decode fail to decode it !
If I trace the IMAP connection, the server seems
to return 1 line for the fetch command so it
should be the imap_headerinfo function that sould
split again the header

--- Message headers copy ---
X-mailer: AspMail 3.0 (SMTP064982)
Subject: =?ISO-8859-1?Q?Multi-lines Message=
 blah blah blah?=
Mime-Version: 1.0
--- End ---

bye

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 11:17 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-22 16:37 UTC] jonfray at mediation-telecom dot com
I installed snap version and made the same tests.
It doesn't work, the header remain in one line and
the decode function fail.

Bye
 [2002-11-23 16:23 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is an IMAP library bug, not a PHP one. PHP simply returns the data passed to it by the IMAP library, you should contact the developers of the IMAP library you are using about this issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 22:01:28 2024 UTC