PHP3 Manual
PrevNext

imap_delete

imap_delete -- Mark a messge for deletion from current mailbox

Description

int imap_delete(int imap_stream, int msg_number);

Returns true on success and false on error.

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


PrevHomeNext
imap_createmailboxUpimap_deletemailbox