How to get unique ID from mail message

Please help me in getting unique I’d from a mail message using aspose email 22.8

@Prer2040

You can use ImapMessageInfo.UniqueId property to get the message unique ID. The Pop3MessageInfo.UniqueId property returns the Unique Id of the E-Mail message.

Please check the code examples in the following articles.
Detecting New Email Messages on POP3 Server
Group Fetch Messages