ID: 37659
User updated by: mad at dactar dot ch
Reported By: mad at dactar dot ch
Status: Bogus
Bug Type: IMAP related
Operating System: HP-UX
PHP Version: 5.1.4
New Comment:
Thanks for your answer.
> Does imap_fetch_overview() works for you in this case ?
No, it's the problem is also present with imap_fetch_overview.
> If c-client returns empty/invalid data - there is not much PHP can do
about it.
It's right, but PHP, PHP's users and website's visitors are impacted.
So, I can open a bug to c-client's mainteners. I need debug data for
that. Is there a way to obtain such info ?
Thanks for your answer.
Previous Comments:
------------------------------------------------------------------------
[2006-06-01 08:39:09] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
[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