imap_reopen

imap_reopen -- Reopen IMAP stream to new mailbox

Description

int imap_reopen(string imap_stream, string mailbox, string [flags]);

Returns true on success and false on error.

This function reopens the specified stream to new mailbox.

The options are a bit mask with one or more of the following: