(PHP 4, PHP 5, PHP 7)
Reopen IMAP stream to new mailbox
bool imap_reopen ( resource $imap_stream, string $mailbox [, int $options = 0 [, int $n_retries = 0 ]] )
Reopens the specified stream to a new mailbox on an IMAP or NNTP server.
Parameters:
imap_stream
An IMAP stream returned by imap_open().
mailbox
The mailbox name, see imap_open(