ID: 7207
Comment by: compu_global_hyper_mega_net_2 at yahoo dot com
Reported By: brain at brainlapse
Status: Closed
Bug Type: IMAP related
Operating System: win98se
PHP Version: 4.0.3
New Comment:
This bug should be reopened. The current behaviour is really wrong.
<?
$mbox = @imap_open('{localhost:110/pop3}INBOX', 'user', 'password');
?>
Obviously, in the above example, I have a pop3 server running on
localhost, with the user/password credentials.
Result:
PHP Notice: (null)(): Mailbox is empty (errflg=1) in Unknown on line
0
Notice: (null)(): Mailbox is empty (errflg=1) in Unknown on line 0
Previous Comments:
------------------------------------------------------------------------
[2004-08-04 07:34:32] a at a dot com
After almost 4 years, this problem continues to be unaddressed.
The mail-box-empty message is reported as an error, which is wrong. If
the mail box is empty, imap_last_error should not return this as an
error.
------------------------------------------------------------------------
[2000-10-30 09:26:33] [EMAIL PROTECTED]
No feedback and I can not reproduce this with
latest working CVS.
--Jani
------------------------------------------------------------------------
[2000-10-15 21:45:56] [EMAIL PROTECTED]
I can not reproduce this. Could you please include a shortest possible
reproducing script into this bug report?
--Jani
------------------------------------------------------------------------
[2000-10-14 12:35:22] brain at brainlapse
when there are no messages in an INBOX, the error "Fatal error: Mailbox
is empty in C:\Program Files\Apache Group\Apache\htdocs/mail.php3 on
line XX"
Adding the @ in front of imap_open does nothing. When there are
messages this error does not apear.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=7207&edit=1