PHP.nl

imap_close

imap_close

Close an IMAP stream

true **imap_close** IMAP\Connection $imap int $flags

Closes the imap stream.

flags If set to , the function will silently expunge the mailbox before closing, removing all messages marked for deletion. You can achieve the same thing by using

  `CL_EXPUNGE``imap_expunge`

return.true.always

Throws a if is invalid. ValueError``flags

imap_open