note 34043 deleted from function.imap-open by sniper

From: Date: Tue, 10 Feb 2004 02:08:55 +0000
Subject: note 34043 deleted from function.imap-open by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64921@lists.php.net to get a copy of this message
Note Submitter: ---- I want to clear something up here: Using @imap_open to avoid the "mailbox is empty" error, DOES NOT WORK! This is because the error is actually reported at the END of the script, not during the imap_open call. Just call imap_errors() after imap_open() and it will be cleared. It took a while to figure out what was happening here. Really, an empty mailbox is a normal state, not an error state. This should not be reported at all.

« previous php.notes (#64921) next »