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?
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?