imap_close

(PHP3 , PHP4 )

imap_close -- Close an IMAP stream

Description

int imap_close (int imap_stream [, int flags])

Close the imap stream. Takes an optional flag CL_EXPUNGE, which will silently expunge the mailbox before closing, removing all messages marked for deletion.