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