imap_expunge

imap_expunge -- Delete all messages marked for deletion

Description

int imap_expunge(int imap_stream);

imap_expunge() deletes all the messages marked for deletion by imap_delete(), imap_move_mail(), or imap_setflag_full().

Returns true.