Header of a part of a multipart message gets destroyed

Giganews Newsgroups
Subject: Header of a part of a multipart message gets destroyed
Posted by:  Frank (o…@tollkuehn.de)
Date: Tue, 08 Jun 2010

I wrote a little program in Delphi5 using Indy10 from SVN that just pops
an email from an email-account (Scalix-Server) and sends it to another
email-account via smtp (in this test on the same server).
Some mail clients can't show this email.

snipplet of original Message:

....
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9)
Gecko/20100317 Thunderbird/3.0.4
X-Antivirus: avast! (VPS 100607-2, 07.06.2010), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: multipart/related;
    boundary="------------020608000709010703030009"
X-Antivirus: avast! (VPS 100608-0, 08.06.2010), Inbound message
X-Antivirus-Status: Clean

--------------020608000709010703030009
Content-Type: text/html;
    charset="ISO-8859-15"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
....

after Sending:

....
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9)
Gecko/20100317 Thunderbird/3.0.4
X-Antivirus: avast! (VPS 100607-2, 07.06.2010), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: multipart/related;
    boundary="8t8GegSJzk7wPpcy2DTmG8UkoUT=_1FWMH"
X-Antivirus: avast! (VPS 100608-0, 08.06.2010), Inbound message
X-Antivirus-Status: Clean

--8t8GegSJzk7wPpcy2DTmG8UkoUT=_1FWMH
Content-Disposition=inline
:
Content-Type: text/html ;
    charset="ISO-8859-15"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
....

The beginning of the first part (Content-Disposition=inline
: ) has the effect, that some mail-clients can't show the HTML-Mail.

I would be very grateful to any help you can provide.

Replies