Manual do PHP
Anterior |  | Próxima

# imap_close

(PHP 3, PHP 4 , PHP 5)

imap_close -- Close an IMAP stream

## Description

bool imap_close ( resource imap_stream [, int flag])

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

See also: imap_open().

Anterior | Principal | Próxima
imap_clearflag_full | Acima | imap_createmailbox