imap_reopen

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

imap_reopen -- Reopen IMAP stream to new mailbox

Description

int imap_reopen (int 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.