How delete Contentdisposition ...

Giganews Newsgroups
Subject: How delete Contentdisposition ...
Posted by:  Rémi Mévaere (remiii…@free.fr)
Date: Wed, 9 Feb 2005

Hello,

I want to add some attachments without Content disposition ...
Is it possible ?
And how ?

    for i := 0 to lesid2.Count - 1 do begin

                with TIdAttachmentfile.Create(MSG.MessageParts, DESTI +
'TE8P2\' +
                  lesid2.Strings[i]) do
                begin
                  contenttype :=
idmimetable.GetFileMIMEType(lesid2.Strings[i]);

                  contentid := lesid.Strings[i];
                  ParentPart := -1;
                end;

              end;

Thanks

Replies