POP3c_MsgStat()
Get the size of a specific message from the POP3 server.
Files
pop3-c.h/pop3-c.c
Prototype
void POP3c_MsgStat (NET_SOCK_ID sock, CPU_INT32U msg_nbr, CPU_INT32U *msg_size, NET_ERR *perr);
Arguments
sock
Socket ID returned by POP3c_Connect()
.
msg_nbr
Index of message of interest.
msg_size
Size of the message in bytes.
perr
Pointer to a variable that will hold the return error code from this function:
Returned Values
None.
Required Configuration
None.
Notes / Warnings
- The
msg_nbr
argument starts at the value ‘1’. Message ‘0’ does not exist.
Example Usage
See Sample Application.