Retrieving email body

One Star

Retrieving email body

Hi all,
In TOS 4.2.2 I am trying to retrieve the body in an email (which could also have one or more attachments). In tFileInputMail I tried different Mail parts ("Body", "From", "Date", "Subject") as listed in the manual, but none of these seem to work. The result is always an empty string.
Anybody know how I can retrieve the body of the following .mail file (see below)? Thanks in advance!
Regards,
Robert

X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by srvaex02.test.nl
id <01CC3D56.2ABC26CE@srvaex02.test.nl>; Fri, 8 Jul 2011 12:02:38 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----_=_NextPart_001_01CC3D56.2ABC26CE"
Content-class: urn:content-classes:message
Subject: Test
Date: Fri, 8 Jul 2011 12:02:38 +0200
Message-ID: <0C3E49EE55E1C04989ECF5B7A32B74E8AD4000@srvaex02.test.nl>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
Thread-Topic: Test
thread-index: Acw7zLLI3Fsyw2aTSgC0P0GZP+/nmAAADncAAGJJGVA=
From: "Robert" <Robert@test.nl>
To: "Robert" <Robert@test.nl>
This is a multi-part message in MIME format.
------_=_NextPart_001_01CC3D56.2ABC26CE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
=20
... Lots of body text ...

------_=_NextPart_001_01CC3D56.2ABC26CE
Content-Type: application/octet-stream;
name="test20110706130529.xml"
Content-Transfer-Encoding: base64
Content-Description: test20110706130529.xml
Content-Disposition: attachment;
filename="test20110706130529.xml"
...Attachment data...
------_=_NextPart_001_01CC3D56.2ABC26CE--