InetPop3GetNumMessages

int InetPop3GetNumMessages (int POP3Handle, int *numberOfMessages);

Purpose

Returns the number of messages available on the POP3 server.

Parameters

Input
Name Type Description
POP3Handle integer A POP3 handle returned by the InetPop3Open function.
Output
Name Type Description
numberOfMessages integer * The number of messages available on the POP3 server. Pass the address of an integer variable.

Return Value

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