[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing of IMAP Mime Emails with gb.mime fails


Hi

I started to work on an IMAP-client user control and tried to parse a received Mime-Email with gb.mime. I always get the error "Unable to parse message".

The email is fetched from the server with

   <tag> fetch <n> BODY[]

and the parsing is done with

   Dim hMIME As MimeMessage

   hMime = New MimeMessage(File.Load("ImapMimeEmail.txt")) <--- where the error occurs

When I load ImapMimeEmail.txt in Thunderbird, the entire message is displayed properly including all attachments.

Does anyone have an idea what could be wrong?

Claus


Follow-Ups:
Re: Parsing of IMAP Mime Emails with gb.mime failsClaus Dietrich <claus.dietrich@xxxxxxxxxx>