imap mime exception Mime.InvalidMimeFormatException

May 15, 2014 at 10:04 AM
Hello!!!
I test the example code in vb 2008 and vb 2013, and i have got the same error in the same line.

Dim mg As HigLabo.Mime.MailMessage = cl2.GetMessage(MailIndex)

StackTrace:
   en HigLabo.Mime.MimeParser.Parse[T](Stream stream, T message)
   en HigLabo.Mime.MimeParser.ToMailMessage(Stream stream)
   en HigLabo.Mime.MimeParser.ToMailMessage(String text, Encoding encoding)
   en HigLabo.Net.Imap.ImapClient.GetMessage(Int64 mailIndex)
What i am missing?
Thanks a lot!!!!!
Coordinator
May 16, 2014 at 3:01 AM
Hi.

It may be parse error of library.
Please send me your raw mail text data.
higuchihiguchihiguchi@hotmail.com You can get raw text by
var text = cl2.GetMessage(MailIndex);
I'll invastigate with raw text and solve problem.


regards.