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

From: Date: Fri, 22 Nov 2002 17:17:35 +0000
Subject: #20573 [Opn->Fbk]: imap_headerinfo problem with multiple line headers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25582@lists.php.net to get a copy of this message
ID: 20573 Updated by: sniper@php.net Reported By: jonfray@mediation-telecom.com -Status: Open +Status: Feedback -Bug Type: *Mail Related +Bug Type: IMAP related Operating System: RH 7.1, Linux 2.4.9-34smp PHP Version: 4.2.3 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#25582) next »