Ok, I'm sure there's a better way to do this, however I haven't figured out a process yet.
The plan is the download the email headers and organize them, then, at a later point, download the messages in a large set or bundle, matching them up with the UIDs of the previously downloaded headers.
The issue I'm having is downloading a sequence (FetchSequence) of messages results in messages that don't contain the UID value, ie GetImapUID() returns -1.
Is there a way to get the messages and their UIDs together in one pass?
Make sure to test using the very latest version of Chilkat. This could have been a problem that was already fixed.