Quoted Printable

Giganews Newsgroups
Subject: Quoted Printable
Posted by:  Henry (henry.nospam@nospam.com)
Date: Wed, 2 Jun 2004

Hello All

I am trying to decode messages sent from Outlook that have special
characters in the subject and body.

Can someone tell me how to decode the body correctly back to the
original?

Using 9.0.14 snapshot

Example message:

++++++++++++++++++++

Return-Path: <hen…@developmentdomain.com>
Received: from hery ([192.168.2.100]) by indyserver.indyserver (Indy
SMTP Server)
          with ESMTP id <4014017E3E3C5250DD>;
          Wed 2 Jun 2004 00:22:29 +0100 BST
From: "Test Account" <hen…@developmentdomain.com>
To: <develop…@developmentdomain.com>
Subject: =?iso-8859-1?Q?Salut_M=F4n_P=F4te_=E0_toi?=
Date: Wed, 2 Jun 2004 01:18:27 +0200
Message-ID: <000801c4482e$cb68e040$6402a8…@flipendo.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.5709
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409

Bonjour,
=20
Ici, =E0 cet emplacement, se situe le message que vous envoyez =E0 vos =
clients
ou prospects, qu'il s'agisse :
- d'un document que vous r=E9digez sous Microsoft WORD
- d'un simple message que vous envoyez par e-mail test test test t =
Outlook=20
=20
La matrice utilis=E9e ici, n'est bien s=FBr qu'un exemple ! Votre =
matrice sera
configur=E9e et personnalis=E9e selon vos aspirations, vos besoins
votre =
charte
graphique,...
=20
=20
Avec mes salutations les meilleures

.

++++++++++++++++++++++++

idmessage1.LoadFromFile(edit1.text);

There are no message parts in idMessage1.messageparts.count when indy
decodes this mail, and the message appears exactly as above in
idMessage1.Body.Text

Of course, what I need to do is decode the subject and the body but how
do I do this?

Henry

Replies