imap_search()
imap_search - This function returns an array of messages matching the given search criteria
Syntax
array imap_search ()
Arguments
-
Description
This function performs a search on the mailbox currently opened in the given IMAPstream.
Version
PHP 4, 5
Return value
Returns an array of message numbers or UIDs.