imap_listscan
(PHP 4, PHP 5, PHP 7, PHP 8)
Returns the list of mailboxes that matches the given text
Description
Returns an array containing the names of the mailboxes that have content in the text of the mailbox.
This function is similar to imap_listmailbox(), but it will additionally check for the presence of the string content inside the mailbox data.
Parameters
referencereferenceshould normally be just the server specification as described inimap_open()Insecure
patternPattern
contentThe searched string
Return Values
Returns an array containing the names of the mailboxes that have content in the text of the mailbox, Falseforfailure.
Changelog
| Version | Description |
|---|