IMAP
PHP Manual

imap_expunge

(PHP 4, PHP 5)

imap_expunge — Delete all messages marked for deletion

Описание

bool imap_expunge ( resource $imap_stream )

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

Список параметров

imap_stream

An IMAP stream returned by imap_open().

Возвращаемые значения

Returns TRUE.


IMAP
PHP Manual