ID:               45669
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kevin at icscomp dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         IMAP related
 Operating System: Windows 2003 Server
 PHP Version:      5.2.6
 New Comment:

Please report this to the UW IMAP c-client author. We just wrap around
that library.


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

[2008-07-31 17:08:49] kevin at icscomp dot com

Description:
------------
This is in reference to Bug #45470 which was pre-maturely closed.

http://bugs.php.net/bug.php?id=45470

In the last response this is the information I was given:

"It's just that Exhange + IMAP == not very good idea. It's not any PHP
bug anyway, we just wrap around the UW Imap c-client lib, so you should
complain to the author of it. But consider yourself warned: He'll say
about same what I said above. :)"


But then I tried using the imap_num_recent and imap_check and these
functions from Exchange, leaving me to believe there is a definite
problem with the imap_status function in php.  Please address this.


Reproduce code:
---------------
imap_open("{mailserver:993/imap/ssl}/INBOX",
"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);



Expected result:
----------------
I assume something like:

object(stdClass)#19 (1) { ["Unread"]=> int(5) } 


Actual result:
--------------
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.



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


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

Reply via email to