Content-Disposition=inline problem

Giganews Newsgroups
Subject: Content-Disposition=inline problem
Posted by:  Chris Ueberall (CUebera…@web.de)
Date: Mon, 16 Jun 2008

Hi,

when I get messages from Thunderbird with textual inline attachments
then I can't recognize those attachments, TidMessage.MessageParts.AttachmentCount
will be always 0.
Is there a way to detect this kind of attachment?

The message follows:

Return-Path: <…@rst.de>
X-Flags: 1001
Delivered-To: GMX delivery to x…@gmx.de
Received: (qmail invoked by alias); 16 Jun 2008 14:10:17 -0000
Received: from smtprelay11.ispgateway.de (EHLO smtprelay11.ispgateway.de) [80.67.29.28]
  by mx0.gmx.net (mx079) with SMTP; 16 Jun 2008 16:10:17 +0200
Received: from [87.139.21.236] (helo=[192.168.178.35])
    by smtprelay11.ispgateway.de with esmtpa (Exim 4.68)
    (envelope-from <…@rst.de>)
    id 1K8FPV-0001S9-Bq
    for x…@gmx.de; Mon, 16 Jun 2008 16:10:17 +0200
Message-ID: <48567449.10408…@rst.de>
Date: Mon, 16 Jun 2008 16:10:17 +0200
From: Ruatti ST - =?ISO-8859-1?Q?J=FCrgen?= Desiderio
<…@rst.de>
Organization: Ruatti ST
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: x…@gmx.de
Subject: POP3 Testnachricht3
Content-Type: multipart/mixed; boundary="S=_5fJEKKN87SVbxBLD3jJS3a9Vs40eK9F"
X-Df-Sender: 477453
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Htest: 0.75
X-GMX-Antispam: 0 (Mail was not recognized as spam)
X-GMX-UID: f0FkcORHPjlt8lSS6Dc2C1QzMTE2NUn0
X-Antivirus: AVG for E-mail 7.5.523 [269.23.6/1404]
In-Reply-To: <48567449.10408…@rst.de>

This is a multi-part message in MIME format.

--S=_5fJEKKN87SVbxBLD3jJS3a9Vs40eK9F
Content-Type: multipart/alternative;
        boundary="Pnt4H=_mocJ85uVRZQ5HigMtCZWA0XRhCN"

--Pnt4H=_mocJ85uVRZQ5HigMtCZWA0XRhCN
Content-Type: text/plain ; charset="ISO-8859-15"
Content-Transfer-Encoding: 7bit

Body
Dateianhang: patienteneingabe.txt u. R4cPushService.txt
Format i. Thunderbird: Reintext u. HTML

--Pnt4H=_mocJ85uVRZQ5HigMtCZWA0XRhCN
Content-Type: text/html ; charset="ISO-8859-15"
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Body<br>
Dateianhang: patienteneingabe.txt u. R4cPushService.txt<br>
Format i. Thunderbird: Reintext u. HTML
</body>
</html>

--Pnt4H=_mocJ85uVRZQ5HigMtCZWA0XRhCN--

--S=_5fJEKKN87SVbxBLD3jJS3a9Vs40eK9F
Content-Type: text/plain
Content-Transfer-Encoding: base64
Content-Disposition=inline; filename="R4cPushService.txt"

Ki5leGUgL2luc3RhbGwgKGNtZC1aZWlsZSkNCmM6XGRva3VtZW50ZSB1bmQgRWluc3RlbGx1bmdl
blxBbGwgVXNlcnNcQW53ZW5kdW5nc2RhdGVuDQoqLmluaSBmaWxlIA0KcGF0aCB6dSBwaHAtbmVl
ZFB1c2gtU2VydmljZQ0KaW50ZXJ2YWwgKHNlY29uZHMpDQpEaWVuc3Qgc3RhcnRlbiBpbiBWZXJ3
YWx0dW5nL0RpZW5zdGUNCg==

--S=_5fJEKKN87SVbxBLD3jJS3a9Vs40eK9F
Content-Type: text/plain
Content-Transfer-Encoding: base64
Content-Disposition=inline; filename="patienteneingabe.txt"

UGF0aWVudGVuZWluZ2FiZSBFL0VBL1NCIG113yBFeGFrdC1GZWxkIHNlaW4NCg==

--S=_5fJEKKN87SVbxBLD3jJS3a9Vs40eK9F--

..

--

Replies