|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-10-14 12:35 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
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