php man page for imap_close

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 stream

SYNOPSIS
bool imap_close (resource $imap_stream, [int $flag])
DESCRIPTION
Closes the imap stream.
PARAMETERS
o $ 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 VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
imap_open(3). PHP Documentation Group IMAP_CLOSE(3)
Related Man Pages
imap_delete(3) - php
imap_fetch_overview(3) - php
imap_getmailboxes(3) - php
imap_reopen(3) - php
imap_thread(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun