error message - Undeclared identifier: 'ParentPart'

Giganews Newsgroups
Subject: error message - Undeclared identifier: 'ParentPart'
Posted by:  Grant Brown (gra…@sitedoc.com.au)
Date: Thu, 9 Feb 2006

Hi List,

Using Delphi 5 and Indy version 9.0.18

I keep getting the following error message when trying compileing a
Delphi 5 application

[Error] Indy9_EmailSend.pas(203): Undeclared identifier: 'ParentPart'

-- this is the code that causes the problem --

with TIdText.Create(IdMessage1.MessageParts, nil) do
  begin
    ParentPart := 0;
    ContentType := 'multipart/alternative';
    Body.Assign(SetUpPtr^.MsgBody);
  end;

This worked well in previous versions of Indy so how do I change it for
this version.

Regards
Grant Brown

--

Replies