InternetMail.GetMessageCount
GetMessageCount()
Type:
Number.
Gets the number of
IMAP messages in the current (
CurrentMailbox) mail box or the number of messages in the POP3 inbox.
Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).