Error reading emails imap exchange server

Hi, need help with this error please, it happens while reading emails imap from exchange.

message.id’ threw an exception of type ‘System.IndexOutOfRangeException’
Data: {System.Collections.ListDictionaryInternal}
HResult: -2146233080
HelpLink: Nothing
InnerException: Nothing
Message: “Index was outside the bounds of the array.”
Source: “GemBox.Email”
StackTrace: " at " & ChrW(3) & " ." & ChrW(5) & “(String " & ChrW(2) & “)” & vbCrLf & " at " & ChrW(5) & " .” & ChrW(2) & “(” & ChrW(14) & "​ " & ChrW(2) & “, " & ChrW(5) & " " & ChrW(3) & “)” & vbCrLf & " at " & ChrW(14) & “​ .” & ChrW(3) & “(String " & ChrW(2) & “)” & vbCrLf & " at GemBox.Email.Mime.Headers.” & ChrW(2) & “(Header " & ChrW(2) & “)” & vbCrLf & " at GemBox.Email.Mime.Header.” & ChrW(6) & “()” & vbCrLf & " at GemBox.Email.Mime.HeaderCollection.” & ChrW(2) & “(HeaderId " & ChrW(2) & “)” & vbCrLf & " at GemBox.Email.MailMessage.get_Id()”
TargetSite: {Void (System.String)}

Thanks
Terence

Hi Terence,

I’m afraid that we are unable to reproduce this issue.
Is it possible for you to send us a small Visual Studio project that can reproduce the issue so that we can investigate it?

Regards,
Mario