InetPop3GetNumMessages
int InetPop3GetNumMessages (int POP3Handle, int *numberOfMessages);
Purpose
Returns the number of messages available on the POP3 server.
Parameters
| Input | ||
| Name | Type | Description |
| POP3Handle | int | A POP3 handle returned by the InetPop3Open function. |
| Output | ||
| Name | Type | Description |
| numberOfMessages | int | The number of messages available on the POP3 server. Pass the address of an integer variable. |
Return Value
| Name | Type | Description |
| result | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |
Additional Information
Library: Internet Library
Include file: cvintwrk.h
LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later
Example
Refer to internet\pop3clnt\pop3clnt.cws for an example of using the InetPop3GetNumMessages function.