[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parsing of IMAP Mime Emails with gb.mime fails
[Thread Prev] | [Thread Next]
- Subject: Re: Parsing of IMAP Mime Emails with gb.mime fails
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Thu, 24 Oct 2024 14:04:33 +0200
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Am 24.10.24 um 09:17 schrieb Claus Dietrich:
Found it. The received Mime-message contains a leading line inserted by the IMAP protocol. When I remove it the parser doesn't throw the error any longer.HiI 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 MimeMessagehMime = New MimeMessage(File.Load("ImapMimeEmail.txt")) <--- where the error occursWhen 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
Regards Claus
Parsing of IMAP Mime Emails with gb.mime fails | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |