ID: 16781
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: IMAP related
Operating System: Linux RedHat 7.2
PHP Version: 4.2.0
New Comment:
No problem, something like that:
<?php
Header("Content-type: text/plain");
$inbox=imap_open("{localhost/pop3:110}", "username", "password");
$total = imap_num_msg($inbox);
echo "Total: $total messages";
imap_close($inbox);
?>
Previous Comments:
------------------------------------------------------------------------
[2002-04-24 22:01:44] [EMAIL PROTECTED]
Please add a short example script which can be used to reproduce this.
------------------------------------------------------------------------
[2002-04-23 21:21:32] [EMAIL PROTECTED]
I have ever just compiled 4.2.0, but it is still not working! I have
RH7.2(2.4.7), PHP 4.2.0 Compiled as CGI module, c-client 4.1 with
kerberos 5 support. imap_open() works fine, when i am specifing
incorrect password it fails so there is no problem with that. But
stream returned by imap_open() for POP3 mailbox is always pointing to
an empty mailbox even if there are more than 100 messages! I have tried
this under different mailservers (e.g. POP3 server on localserver and
remote) and results always were same.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16781&edit=1