Re: IdMessage problem decoding mail file (sample utf-8 attachment)

Giganews Newsgroups
Subject: Re: IdMessage problem decoding mail file (sample utf-8 attachment)
Posted by:  Pawel Rewak (suppo…@practicalprograms.com)
Date: Mon, 16 Oct 2006

Here is a sample attachment.

--
Regards,
Pawel Rewak
Practical Programs

"Pawel Rewak" <suppo…@practicalprograms.com> wrote in message
news:EB3D1F09CE0BE340suppo…@practicalprograms.com...
>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=
> definition:
>>>>  Content-Type: multipart/alternative; boundary=----DEF----;
>>>> charset=UTF-8
>
> The message is loaded with an empty body and 1 attachment with badly
> formatted
> 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?
>
> --
> Regards,
> Pawel Rewak
> Practical Programs

begin 666 UTF-8.zip
M4$L#!!0````(`$2'.C4P"D,FL@@``$@K```)````551&+3@N96ULU5IM4^+(
M%OY\K?(_G)M;.S53.PEYX26@,(."KO<J<!%UQJTMJDD:Z"6DLTFC,G5__#V=
MH$%&E!'<96-)DD[GG.<\Y^G32:7;5$Q"7VT1,2S!OD]O(X\*0<//\I".*=$F
M/1;QOM </J[L[K2I0]D-=4O0#_D8QI/0I2&\_W7BLSN(N#.BXK</NSO_@-X4
MHH!S3QWR2&0U$0R8-*&1";P_G(:3"&Y,S=0,\P/<,C&$T[-.J[HG[^P,)Q_!
MT*$Z&8"IZWG0S9*5+V'+S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