note 8928 added to imap_scanmailbox
| From: | ks at ksweb dot de | Date: | Fri, 06 Oct 2000 06:22:20 +0000 |
| Subject: | note 8928 added to imap_scanmailbox | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6145@lists.php.net to get a copy of this message | ||
no function?
this snip gives nothing not even an error:
but if gives an error if I set the discribed two parameters in imap_scan: 'wrong-paramter-count
in line 4'
I supose, that the documentation may be wrong?
include('imappop3.php');
$mbox=imap_open($mailbox,$username,$password) or die('keine Verbindung!');
$o=imap_scanmailbox($mbox,$mailbox,'ks','*');
if($o) print_o($o,'-'); // prints recursively an object
if ($err=imap_errors()) print_r($err);
imap_close ($mbox);
(win98, php 4.0.2)
http://www.php.net/manual/function.imap-scanmailbox.php