Hello, I'm trying to make a small script to show mails on a imap server with a criteria.
Here is my code : /-------------------/ $mails = imap_search($mbox, 'TO "[EMAIL PROTECTED]"',SE_UID); echo sizeof($mails); /------------------/ The connection to the server is the working, the search also, the size returned is not equal to 0. But now I don't know how to retrieve the number of the messages in the array. How can I do that ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php