imap_errors
imap_fetch_overview
IMAP Funções
PHP Manual

# imap_expunge

(PHP 4, PHP 5)

imap_expunge — Delete all messages marked for deletion

### Descrição

bool imap_expunge ( resource `$imap_stream` )

Deletes all the messages marked for deletion by imap_delete(), imap_mail_move(), or imap_setflag_full().

### Parâmetros

`imap_stream`

  Um stream IMAP retornado por imap_open().

### Valor Retornado

Returns `TRUE`.

imap_errors
imap_fetch_overview
IMAP Funções
PHP Manual