imap_subscribe

Subscribe to a mailbox (PHP 3, PHP 4, PHP 5)
bool imap_subscribe ( resource imap_stream, string mbox )

Subscribe to a new mailbox.

如果成功则返回 TRUE,失败则返回 FALSE

See also: imap_unsubscribe().