RSObjectTypeNotSupported with TidPOP3.RetrieveRaw

Giganews Newsgroups
Subject: RSObjectTypeNotSupported with TidPOP3.RetrieveRaw
Posted by:  Sylvainlefou (s_vir…@hotmail.com)
Date: Mon, 15 Mar 2004

Hi there,

With Tidpop3.RetrieveRaw, delphi send me an error :
RSObjectTypeNotSupported.
There isn't problem at the building but, whene I Press Button1 :
RSObjectTypeNotSupported

///////Code
procedure TForm1.Button1Click(Sender: TObject);
var
    NbMessages: Integer;
    idMess: Integer;
    MsgTs: Tstrings;
begin
  idpop31.Connect;
  NbMessages:= idpop31.CheckMessages;
  for idMess:=1 to NbMessages do
    begin
        idpop31.RetrieveRaw(idMess,MsgTs);
        memo1.lines:=MsgTs;
    end;
end;
///////////////////////////
The debugger point me "idpop31.RetrieveRaw(idMess,MsgTs);"

Can you help me please ?

Replies