POP3Socket.CountMessages

From Xojo Documentation

Method

POP3Socket.CountMessages()

Supported for all project types and targets.

Asks the server for the number of messages in the mailbox.

It triggers the MessageCount event, from which you can get the total.

Notes

This is equivalent to the POP3 STAT command.