LongInt - Number of messages in a mailbox on the POP3 server.
Description
CheckMessages is a LongInt function that returns the total number of messages currently in a mailbox on the POP server. CheckMessages performs the POP3 STAT command to retrieve the current message count from the POP3 server.
CheckMessages will return 0 (zero) if an exception is raised during execution of the method.