From Xojo Documentation
Requests a message listing. It fires the ListReceived event. It calls the ListReceived event handler.
This list consists of the message index and the size of the message. If no index is passed, it gets the entire list from the server. If a specific index is passed, it will return just the index message and size of the message.
This is equivalent to the POP3 LIST command.