From:             mad at dactar dot ch
Operating system: HP-UX
PHP version:      5.1.4
PHP Bug Type:     IMAP related
Bug description:  imap_headerinfo vs message_id

Description:
------------
Message_id retrived by imap_headerinfo is empty when mail is local.
Message_id retrived by Thunderbird for exemple is correct event if mail is
local.

Reproduce code:
---------------
Very simple code : 

$mbox=imap_open($MAILSERVER,
               $PHP_AUTH_USER,
               $PHP_AUTH_PW);
$header=imap_headerinfo($mbox,
                       $num,
                       80,80);
echo "Message_ID : $header->message_id<br>";


Expected result:
----------------
Always see the Message_id if it is set on the mail server.

Actual result:
--------------
Message_id's content is lost when we use PHP/imap and if the mail is
local. There's no problem with mails from outside.


-- 
Edit bug report at http://bugs.php.net/?id=37659&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37659&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37659&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37659&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37659&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37659&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37659&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37659&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37659&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37659&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37659&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37659&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37659&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37659&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37659&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37659&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37659&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37659&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37659&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37659&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37659&r=mysqlcfg

Reply via email to