From Xojo Documentation


POP3Socket.RetrieveLines(Index as Integer,LineCount as Integer)

Supported for all project types and targets.

Returns the specified number of lines of a message.


The mail server will return the first LineCount of lines that exist in the message you are requesting via the Index parameter. If LineCount is zero, then the mail server returns only the headers for the message.

This is equivalent to the POP3 TOP command.