ID: 37659
Updated by: [EMAIL PROTECTED]
Reported By: mad at dactar dot ch
-Status: Open
+Status: Bogus
Bug Type: IMAP related
Operating System: HP-UX
PHP Version: 5.1.4
New Comment:
PHP uses c-client as the underlying library for ext/imap.
If c-client returns empty/invalid data - there is not much PHP can do
about it.
Previous Comments:
------------------------------------------------------------------------
[2006-05-31 20:19:32] judas dot iscariote at gmail dot com
Does imap_fetch_overview() works for you in this case ?
this is unlikely to be a PHP bug,though.
------------------------------------------------------------------------
[2006-05-31 19:36:34] mad at dactar dot ch
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 this bug report at http://bugs.php.net/?id=37659&edit=1