imap_listscan
(PHP 4, PHP 5)
imap_listscan — Returns the list of mailboxes that matches the given text
Descrierea
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.
Parametri
- imap_stream
-
Un flux IMAP întors de imap_open().
- ref
-
ref should normally be just the server specification as described in imap_open()
- pattern
-
Specifică poziția în ierarhia cutiilor poștale de unde va începe căutarea.
Sunt două caractere speciale pe care puteți să le transmiteți în cadrul pattern : '*' și '%'. '*' înseamnă a returna toate cutiile poștale. Dacă transmiteți pattern ca '*', veți obține o listă a întregii ierarhii a cutiilor poștale. '%' înseamnă a întoarce doar nivelul curent. '%' în calitate de pattern va întoarce doar cutiile poștale de la nivelul superior; '~/mail/%' pe UW_IMAPD va întoarce toate cutiile poștale în directorul ~/mail, dar nici una din submapele acstui director.
- content
-
The searched string
Valorile întroarse
Returns an array containing the names of the mailboxes that have content in the text of the mailbox.
Vedeţi de asemenea
- imap_listmailbox() - Pseudonim pentru imap_list
- imap_search() - This function returns an array of messages matching the given search criteria
imap_listscan
