You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While fetching the IMessageSummaries of a folder (with MailKit), a parsing error occurs because of an invalid message-id.
The stacktrace:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at MimeKit.Utils.ParseUtils.TryParseMsgId(Byte[] text, Int32& index, Int32 endIndex, Boolean requireAngleAddr, Boolean throwOnError, String& msgid)
at MimeKit.Utils.MimeUtils.ParseMessageId(Byte[] buffer, Int32 startIndex, Int32 length)
at MimeKit.Utils.MimeUtils.ParseMessageId(String text)
at MailKit.Net.Imap.ImapUtils.<ParseEnvelopeAsync>d__40.MoveNext()
Hi,
While fetching the IMessageSummaries of a folder (with MailKit), a parsing error occurs because of an invalid message-id.
The stacktrace:
The MIME headers:
Is it possible to make a workaround for these kind of invalid message ids? Thanks.
The text was updated successfully, but these errors were encountered: