tfPop3GetTotalMsgNumber
Table of Contents >> Optional Protocols >> POP3
| #include <trsocket.h> |
| int tfPop3GetTotalMsgNumber | (ttPop3ClientHandle pop3Handle); |
Function Description
This function is called to get the total number of messages in the mail box. The user does not need to call tfPop3UserExecute() to finish this call. When the connection is initialized, this information is retrieved and stored.
Parameters
- pop3Handle
- The POP3 session handle.
Returns
- -1
- Failure.
- (Other)
- The number of messages currently in the mailbox.