imap_subscribe

(PHP 3, PHP 4, PHP 5)

imap_subscribe -- Subscribe to a mailbox

Descrição

bool imap_subscribe ( resource imap_stream, string mailbox )

Subscribe to a new mailbox.

Parâmetros

imap_stream

Um stream IMAP retornado por imap_open().

mailbox

The mailbox name, see imap_open() for more information

Valores de retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também

imap_unsubscribe()