imap_reopen

imap_reopen -- Reopen IMAP stream to new mailbox

Description

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

This function reopens the specified stream to a new mailbox on an IMAP or NNTP server.

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

Returns true on success and false on error.