Zapisuje wiadomość do pliku przez IdMessage.SaveToFile(); i otrzymuje plik o takiej zawartości:

From: "Pan " <>
Subject: Re: Formatowanie
To: [email protected]
Content-Type: multipart/mixed; boundary="=_NextPart_2rfkindysadvnqw3nerasdf"
MIME-Version: 1.0
Date: Wed, 27 Jun 2007 1412 +0200
X-Priority: 3
X-Library: Indy 9.00.10

This is a multi-part message in MIME format

--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi !

Treść wiadomości

Podpis

--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: application/octet-stream;
name="Schowek02.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Schowek02.jpg"

[tutaj załącznik]

--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: application/octet-stream;
name="Schowek05.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Schowek05.jpg"

[tutaj załącznik]

--=_NextPart_2rfkindysadvnqw3nerasdf--
.

Następnie po wczytaniu tego pliku do programu poprzez IdMessage.LoadFromFile(); otrzymuje:

From: "Pan" <>
Subject: Re: Formatowanie
To: [email protected]
Content-Type: multipart/mixed; boundary="=_NextPart_2rfkindysadvnqw3nerasdf"
MIME-Version: 1.0
Date: Wed, 27 Jun 2007 1412 +0200
X-Priority: 3
X-Library: Indy 9.00.10

This is a multi-part message in MIME format

--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

This is a multi-part message in MIME format

--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: application/octet-stream; name="Schowek02.jpg";
name="Schowek02.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Schowek02.jpg";
filename="Schowek02.jpg"

[tutaj załącznik]

--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: application/octet-stream; name="Schowek05.jpg";
name="Schowek05.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Schowek05.jpg";
filename="Schowek05.jpg"

[tutaj załącznik]

--=_NextPart_2rfkindysadvnqw3nerasdf--
.

Załączniki się zgadzają, jedynie treść wiadomości zostaje zastąpiona tekstem "This is a multi-part message in MIME format". Co robię źle ? Czy jest jakiś sposób na to żebym mógł poprawnie odczytać wiadomość z pliku ?