IdMessage problem decoding mail file

Giganews Newsgroups
Subject: IdMessage problem decoding mail file
Posted by:  Pawel Rewak (suppo…
Date: Mon, 16 Oct 2006

I have a problem with the IdMessage component not being able to decode a
mail file saved from Outlook Express:
I am using latest Dev snapshot.

Here is what the .eml body looks like:

> ... header ...
>  Mime-Version: 1.0
>  Content-Type: multipart/mixed; boundary="=======ABC======="
>  --=======ABC=======
>  Content-Type: multipart/alternative; boundary=----DEF----; charset=UTF-8
>  Content-Disposition: inline
>  ------DEF----
>  Content-Type: text/plain; charset=UTF-8
>  Content-Transfer-Encoding: 8bit
> ... body follows ...

IdMessage has problems understanding the ; charset=UTF-8 after a boundary=
>>>  Content-Type: multipart/alternative; boundary=----DEF----;
>>> charset=UTF-8

The message is loaded with an empty body and 1 attachment with badly
text inside it. Removing the ; ; charset=UTF-8 data after the boundary fixes
the problem.

Is this a problem with MS Outlook  Express in the way it saves the .EML file
or is IdMessage broken?

Pawel Rewak
Practical Programs