imap_reopen

Example

 bool imap_reopen ( resource $imap_stream , string $mailbox [, int $options = 0 [, int $n_retries = 0 ]] ) 

Description

Reopens the specified stream to a new mailbox on an IMAP or NNTP server.

Return Values

Returns TRUE if the stream is reopened, FALSE otherwise.