Why? Why this is not an imap_error?
| From: | myhan | Date: | Sat, 30 Aug 2003 00:48:23 +0000 |
| Subject: | Why? Why this is not an imap_error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161215@lists.php.net to get a copy of this message | ||
Warning: imap_fetchstructure(): Bad message number in
e:\testroot\imap\index.php on line 52
I ust imap_fetchstructure function to get the structure of a message, and I
want to push the errors into an array.
I give a wrong message number and expect cause an imap error, which can be
get by using imap_errors().
But it does not work like that. I get nothing from imap_errors(), and the
browser print a waring like that :
Warning: imap_fetchstructure(): Bad message number in
e:\testroot\imap\index.php on line 52
What can I do?