note 116466 added to function.imap-open

From: Date: Wed, 07 Jan 2015 13:57:22 +0000
Subject: note 116466 added to function.imap-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-201379@lists.php.net to get a copy of this message
The error: Unknown: Mailbox is empty (errflg=1) in Unknown on line 0 appears when: 1) use imap_open to connect 2) then use imap_search ALL to retrieve emails but there are no messages available. To avoid this error, check first the number of messages in a mailbox using imap_status. Only if there are messages available then you can use the imap_search. ---- Server IP: 72.52.91.14 Probable Submitter: 95.94.75.77 ---- Manual Page -- http://php.net/manual/en/function.imap-open.php Edit -- https://master.php.net/note/edit/116466 Del: integrated -- https://master.php.net/note/delete/116466/integrated Del: useless -- https://master.php.net/note/delete/116466/useless Del: bad code -- https://master.php.net/note/delete/116466/bad+code Del: spam -- https://master.php.net/note/delete/116466/spam Del: non-english -- https://master.php.net/note/delete/116466/non-english Del: in docs -- https://master.php.net/note/delete/116466/in+docs Del: other reasons-- https://master.php.net/note/delete/116466 Reject -- https://master.php.net/note/reject/116466 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201379) next »