From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

POP3SecureSocket.MessageReceived(Index as Integer, Message as EmailMessage)

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. Index contains the index number of the retrieved message and the message contents is in Message.