imap_delete

imap_delete -- Mark a messge for deletion from current mailbox

Description

int imap_delete(int imap_stream, int msg_number);

Returns true.

imap_delete() function marks message pointed by msg_number for deletion. Actual deletion of the messages is done by imap_expunge ().