Populates the messageID array of a mailSession object with the message IDs in the user’s inbox.
mailSession object
mailsession.mailGetMessages ( { messagetype, } { unreadonly } )
mailReturnCode. Returns one of the following values:
mailReturnSuccess!
mailReturnFailure!
mailReturnInsufficientMemory!
mailReturnNoMessages!
mailReturnUserAbort!