#20573 [Fbk->Opn]: imap_headerinfo problem with multiple line headers
| From: | jonfray at mediation-telecom dot com | Date: | Fri, 22 Nov 2002 22:37:09 +0000 |
| Subject: | #20573 [Fbk->Opn]: imap_headerinfo problem with multiple line headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25621@lists.php.net to get a copy of this message | ||
ID: 20573
User updated by: jonfray@mediation-telecom.com
Reported By: jonfray@mediation-telecom.com
-Status: Feedback
+Status: Open
Bug Type: IMAP related
Operating System: RH 7.1, Linux 2.4.9-34smp
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-11-22 11:17:35] 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 09:03:36] jonfray@mediation-telecom.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20573&edit=1