array imap_scanmailbox
Returns an array containing the names of the mailboxes that have that string in the text of the mailbox.