ID:               29851
 Updated by:       [EMAIL PROTECTED]
 Reported By:      janders at javeo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         IMAP related
 Operating System: RHEL V3
 PHP Version:      4.3.8
 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.

The header seems to corrupt in the 1st place. 


Previous Comments:
------------------------------------------------------------------------

[2004-08-26 16:51:51] janders at javeo dot com

Description:
------------
Email message header with additional quotes in From: field corrupts
results returned by imap_headerinfo.

E.g.
Message with this from field:
From: "30"TV" <[EMAIL PROTECTED]>" 

imap_headerinfo produces:
stdClass Object
(
    [date] => Wed, 25 Aug 2004 19:16:52 -0800
    [Date] => Wed, 25 Aug 2004 19:16:52 -0800
    [subject] => Free to new members- Flat Screen TV 
    [Subject] => Free to new members- Flat Screen TV 
    [fromaddress] => "30TV <[EMAIL PROTECTED]>"@t1
    [from] => Array([0] => stdClass Object
                (
                 [mailbox] => 30TV <[EMAIL PROTECTED]>
                 [host] => t1
                )
        )
<snip...>

Reading this message from imap server using Outlook produces correct
results, with additional quotes simply removed.  I also read this
message from imap server using Pine, since php uses same c-client. 
When displaying the message header in Pine, Pine replaced the corrupt
"From" field with the non-corrupt "To" field when message header is
displayed in the Inbox.

-JA



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29851&edit=1

Reply via email to