imap_subscribe

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.