How to read the Message-ID property from an email?

Jan 1, 2016 at 2:42 AM
I need access to the Message-ID string value of each email in a target folder. I read this info is on in the message headers of all emails, however, I cannot find where the read this value from the Message object of this library.

The only way I see to do this is to call the DownloadRawMessage() method and then parse out the Message-ID value from the full email message as the string returned by this method call.

So, is there a simpler way to access the Message-ID string?
Jan 27, 2016 at 11:12 AM
Hi mattslay,

you can use the Message.MessageId property.