ID:               42740
 Comment by:       kevin at icscomp dot com
 Reported By:      sigurdne at online dot no
 Status:           No Feedback
 Bug Type:         IMAP related
 Operating System: mandriva
 PHP Version:      5.2.4
 New Comment:

When I run the PHP commands to try to retrieve the unread messages
using the imap_status command, I am finding that no data is being
returned.  Additionally, the data that is being returned is random
numbers each time I push the refresh button.  I would really like to see
this issue be fixed.  Thanks.

My code is below:

$mbox = imap_open("{mailserver:993/imap/ssl}",
"domain/user","password", OP_READONLY, 1) or die("can't connect:
".imap_last_error());
$imap_obj = imap_status($mbox, "{mail:993/imap/ssl}/INBOX",
SA_UNSEEN);
var_dump($imap_obj);


Here is the output

Output 1:
object(stdClass)#19 (1) { ["flags"]=> int(0) } 

Output 2:
object(stdClass)#19 (2) { ["flags"]=> int(26571976) ["uidnext"]=>
int(26649488) }

back and forth .... no other data is listed.

Help!


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

[2007-10-10 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2007-10-02 10:24:48] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




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

[2007-09-23 10:41:45] sigurdne at online dot no

Description:
------------
Recently the IT-administration of my company installed Microsoft
Exchange 2007 for their mail-services - and I discovered that the php
command imap_status stopped returning anything. Everything else seems to
be working.

The IMAP4 service at the server is started - and my user is enabled to
connect. At this point I am using fetcmail and postfix to deliver the
mail to a cyrus-server which is fine with imap_status.

I am using the imap-2006k.DEV.SNAP-0709051605 with php-5.2.4



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


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

Reply via email to