imap_expunge

imap_expunge -- Delete all messages marked for deletion

Description

int imap_expunge(int imap_stream);

Returns true.

imap_expunge() deletes all the messages marked for deletion by imap_delete().