POP3Socket.MessageReceived
From Xojo Documentation
Event
POP3Socket.MessageReceived(Index as Integer,Message as emailMessage)
Supported for all project types and targets.
Supported for all project types and targets.
Executes when a message has been received from the mail server, in response to a call to RetrieveMessage.
The Index parameter contains the index number of the retrieved message and the message contents is in Message.