#20573 [Opn->Bgs]: imap_headerinfo problem with multiple line headers

From: Date: Sat, 23 Nov 2002 22:23:50 +0000
Subject: #20573 [Opn->Bgs]: imap_headerinfo problem with multiple line headers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25677@lists.php.net to get a copy of this message
ID: 20573 Updated by: iliaa@php.net Reported By: jonfray@mediation-telecom.com -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: RH 7.1, Linux 2.4.9-34smp PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-11-22 16:37:08] jonfray@mediation-telecom.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-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

« previous php.bugs (#25677) next »