imap_expunge

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_expungeDelete all messages marked for deletion

说明

imap_expunge ( resource $imap ) : bool

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

参数

imap

imap_open() 返回的 IMAP 流。

返回值

Returns true.