InetPop3GetMessageSize
int InetPop3GetMessageSize (int POP3Handle, int messageIndex, int *messageSize);
Purpose
Returns the size of a message on the POP3 server. This is the size of the entire message including headers and attachments.
Parameters
Input | ||
Name | Type | Description |
POP3Handle | int | A POP3 handle returned by the InetPop3Open function. |
messageIndex | int | The zero–based index of a message on the POP3 server. |
Output | ||
Name | Type | Description |
messageSize | int | The size of the entire message, in bytes. 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 InetPop3GetMessageSize function.