Inline image detected as a TEXT part

Giganews Newsgroups
Subject: Inline image detected as a TEXT part
Posted by:  Vincent Lemieux (vincentlemie…@yahoo.com)
Date: Tue, 9 Mar 2004

Hi!

I received a message with an inline image.

The header of the image is as follow :
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <10b801c4022e$4f733d00$5401a8c0@xp2>

Indy 9 sees this part as a TEXT part.
I took a look at the TIdMessageDecoderMIME.ReadHeader procedure, espescially
the CheckAndSetType sub-procedure.
I understand why Indy is considering this part as a TEXT one but what can I
do to change this?

Does only attachment parts have a Content-ID header?
Can I use this (Content-ID) to prove that this is an attachment?

--
Vincent Lemieux
vincentlemie…@yahoo.com

Replies