From:             [EMAIL PROTECTED]
Operating system: RH 7.1, Linux 2.4.9-34smp
PHP version:      4.2.3
PHP Bug Type:     *Mail Related
Bug description:  imap_headerinfo problem with multiple line headers

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 bug report at http://bugs.php.net/?id=20573&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20573&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20573&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20573&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20573&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20573&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20573&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20573&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20573&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20573&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20573&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20573&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20573&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20573&r=isapi

Reply via email to