From Xojo Documentation


POP3Socket.ServerError(ErrorCode as Integer,ErrorMessage as String, MessageID as Integer)

Supported for all project types and targets.

Executes when a protocol-related error occurs.


The error codes returned in the ErrorCode parameter are as follows:

Value Description
0 Unknown Error Message
1 Incorrect Password
2 IncorrectUsername
3 Delete Message Failed
4 List Messages Failed
5 Retrieve Lines Failed
6 Retrieve Message Failed