TIdMessage bug ?

Giganews Newsgroups
Subject: TIdMessage bug ?
Posted by:  DV (dvp…@mscgva.ch)
Date: Fri, 11 Jul 2003

Hi,
I've a sample of mail that has the contentType set to 'text/plain', when I
want to save his contents, I usually do :
email.body.saveToFile(c:\temp\debug.txt).

In this particular case, the contents is in email.messageparts...

So i must use :
TIdText(email.MessageParts.Items[email.MessageParts.Count-1]).Body.SaveToFil
e(c:\temp\debug.txt).

The message body isn't available in both cases !!!! To view the message
source, I must use outlookexpress.

How can this be possible... ? Documentation doesn't mention this kind of
problems :0(

Here is the raw message :

Date: Wed, 9 Jul 2003 09:16:28 +0200
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
GETCONT CONTAINERID
=20
=20
=20
Yours sincerely,
=20
For MSC LLC=20
Container Control
=A0
Phone:=A0=A0 +999999=A0 9999999=A0 999999
Fax:=A0=A0=A0=A0=A0=A0 +9999999 =20
=20
=20
=20
=20

Property of message.IsEncoded = FALSE, when I evaluate it in debug mode :0)

The problem seems to come from the "=A0" codes in the message source. What's
the purpose of this code ?

Any kind of help or answer would be appreciated. Thanks & best regards

Daniel V.

Replies