InetPop3DeleteMessage

int InetPop3DeleteMessage (int POP3Handle, int messageIndex);

Purpose

Deletes a message on the POP3 server.

Note  The message will be lost forever. Do not call this function if you want to leave the message on the server.

Parameters

Input
Name Type Description
POP3Handle integer A POP3 handle returned by the InetPop3Open function.
messageIndex integer The zero–based index of a message on the POP3 server.

Return Value

Name Type Description
result integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.