IMAP 函数
PHP 手册

imap_expunge

(PHP 4, PHP 5)

imap_expungeDelete 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 手册