standard.net.mail.pop3_delete_message

pop3_delete_message is available since version 1.0.

Prototype:

boolean pop3_delete_message(number pop3_handle, number message_index)

Parameters

pop3_handle
pop3 connection handle as returned by pop3_open or pop3_open_secured
message_index
the index of the message starting 0; must be smaller than pop3_count_messages

Description:

Deletes a message from a POP3 mail server.

Return value:

Returns true if the message was successfully deleted, or false otherwise. If false, you may want to call pop3_error to retrieve the error.