downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_mail_compose> <imap_listsubscribed
Last updated: Fri, 13 Nov 2009

view this page in

imap_lsub

(PHP 4, PHP 5)

imap_lsubList all the subscribed mailboxes

Descrição

array imap_lsub ( resource $imap_stream , string $ref , string $pattern )

Gets an array of all the mailboxes that you have subscribed.

Parâmetros

imap_stream

Um stream IMAP retornado por imap_open().

ref

ref should normally be just the server specification as described in imap_open()

pattern

Especifica aonde na hierarquia da caixa de mensagens deve começar a procura.

Existem dois caracteres especiais que você pode passar como parte para o pattern : '*' e '%'. '*' significa retornar todas as caixas de mensagens. Se você passar pattern como '*', você terá uma lista de toda a hierarquia da caixa de mensagens. '%' significa retornar o nível atual apenas. '%' como o parâmetro pattern ira retornar apenas as caixar de mensagem do nível superior; '~/mail/%' em UW_IMAPD irá retornar cada caixa de mensagem no diretório ~/mail, mais nenhuma em subpastas deste diretório.

Valor Retornado

Returns an array of all the subscribed mailboxes.

Veja Também



add a note add a note User Contributed Notes
imap_lsub
There are no user contributed notes for this page.

imap_mail_compose> <imap_listsubscribed
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites