Determines the number of messages stored in the mailbox for the POP3 account.
function CheckMessages: LongInt;
longint - Number of messages in the mailbox for the POP3 client connection.
CheckMessages is a longint function used to determine the number of messages stored on the POP3 server for the POP3 account.
CheckMessages sends the POP3 STAT command to request the statistics for the mailbox, and converts the value in the POP3 response to its numeric form.
An exception may be raised if the server for the POP3 client connection does not support the STAT command.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.