This project is read-only.

imap mime exception Mime.InvalidMimeFormatException

May 15, 2014 at 11:04 AM
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)

   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!!!!!
May 16, 2014 at 4:01 AM

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