Bug #3834: Fatal Error With Imap_Open() if No Messages
| From: | emile at nhkanaal dot nl | Date: | Wed, 15 Mar 2000 10:49:12 +0000 |
| Subject: | Bug #3834: Fatal Error With Imap_Open() if No Messages | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16828@lists.php.net to get a copy of this message | ||
From: emile@nhkanaal.nl
Operating system: WIN 98
PHP version: 3.0.15
PHP Bug Type: IMAP related
Bug description: Fatal Error With Imap_Open() if No Messages
The following works good if there are any messages,
but it gives a fatal error when there are no messages, the script stops then, the error can't
be supressed either..
<?
dl("php3_imap4r1.dll");
$mbox = imap_open("{localhost/pop3:110}INBOX", "name", "pass");
imap_close($mbox);
?>
Greetz,
Emile Bosch