note 7795 added to imap_open

From: Date: Tue, 15 Aug 2000 19:37:14 +0000
Subject: note 7795 added to imap_open
Groups: php.notes 
Request: Send a blank email to php-notes+get-1913@lists.php.net to get a copy of this message
I got around that damned Mailbox empty call the ugly way. I just decided not to be bothered by error messages is the quick way (definitely not the elegant one though). just put error_reporting(E_PARSE); to the top of your code. It should do since 99% of all errors result from parse problems anyway. Watch out that even though the manual states that POP3 and IMAP4 use the same interface, it's NOT true. Under POP3 lots of functions don't work. imap_setflags_full for example works only until the end of script execution. The next time you load the page the flags are lost. This is due to POP3 standard, but was it really so hard to mention it in manual? would have saved me hours of studying... http://www.php.net/manual/function.imap-open.php

« previous php.notes (#1913) next »