imap_subscribe

(PHP 3, PHP 4 >= 4.0b1)

imap_subscribe -- Subscribe to a mailbox

Description

int imap_subscribe (int imap_stream, string mbox)

Subscribe to a new mailbox.

Returns TRUE on success and FALSE on error.