Query: imap_close
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMAP_CLOSE(3) 1 IMAP_CLOSE(3) imap_close - Close an IMAP streamSYNOPSISbool imap_close (resource $imap_stream, [int $flag])DESCRIPTIONCloses the imap stream.PARAMETERSo $ imap_stream -An IMAP stream returned by imap_open(3). o $flag - If set to CL_EXPUNGE, the function will silently expunge the mailbox before closing, removing all messages marked for deletion. You can achieve the same thing by using imap_expunge(3)RETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOimap_open(3). PHP Documentation Group IMAP_CLOSE(3)