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
System.ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000. (Parameter 'offset')
at System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)
at System.DateTimeOffset.op_Implicit(DateTime dateTime)
at MsgReader.Mime.Header.Received..ctor(String headerValue)
at MsgReader.Mime.Header.MessageHeader.ParseHeader(String headerName, String headerValue)
at MsgReader.Mime.Header.MessageHeader.ParseHeaders(NameValueCollection headers)
at MsgReader.Mime.Header.HeaderExtractor.ExtractHeadersAndBody(Byte[] fullRawMessage, MessageHeader& headers, Byte[]& body)
at MsgReader.Mime.Message.ParseContent(Byte[] rawMessageContent, Boolean parseBody, Boolean parseHeaders)
at MsgReader.Mime.Message..ctor(Byte[] rawMessageContent, Boolean parseBody)
at MsgReader.Mime.Message..ctor(Byte[] rawMessageContent)
at MsgReader.Mime.Message.Load(Stream messageStream)
at MsgReader.Reader.ExtractToFolder(String inputFile, String outputFolder, ReaderHyperLinks hyperlinks, Nullable`1 messageType, Stream logStream, Boolean includeReactionsInfo)
The text was updated successfully, but these errors were encountered:
Can you send me the EML file that is giving this error? If so, then please ZIP it before sending it to [email protected]
My first guess is that there is an invalid date somewhere in the EML file.
Thank you for your prompt response.
I am unfortunately unable to provide you with the EML file, as this exception occurred on a customer's EML file upon communicating with my API, and I do not have access to the customer's data.
My apologies for not being able to assist in this regard.
System.ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000. (Parameter 'offset')
at System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)
at System.DateTimeOffset.op_Implicit(DateTime dateTime)
at MsgReader.Mime.Header.Received..ctor(String headerValue)
at MsgReader.Mime.Header.MessageHeader.ParseHeader(String headerName, String headerValue)
at MsgReader.Mime.Header.MessageHeader.ParseHeaders(NameValueCollection headers)
at MsgReader.Mime.Header.HeaderExtractor.ExtractHeadersAndBody(Byte[] fullRawMessage, MessageHeader& headers, Byte[]& body)
at MsgReader.Mime.Message.ParseContent(Byte[] rawMessageContent, Boolean parseBody, Boolean parseHeaders)
at MsgReader.Mime.Message..ctor(Byte[] rawMessageContent, Boolean parseBody)
at MsgReader.Mime.Message..ctor(Byte[] rawMessageContent)
at MsgReader.Mime.Message.Load(Stream messageStream)
at MsgReader.Reader.ExtractToFolder(String inputFile, String outputFolder, ReaderHyperLinks hyperlinks, Nullable`1 messageType, Stream logStream, Boolean includeReactionsInfo)
The text was updated successfully, but these errors were encountered: