(PHP 4, PHP 5, PHP 7)
imap_expunge — Delete all messages marked for deletion
$imap_stream
Deletes all the messages marked for deletion by imap_delete(), imap_mail_move(), or imap_setflag_full().
imap_stream
Поток IMAP, полученный из imap_open().
Returns TRUE.
TRUE