NNTP.Next

Giganews Newsgroups
Subject: NNTP.Next
Posted by:  Feij√≥ (fei…@x.suply.com)
Date: Mon, 18 Dec 2006

I'm considering use Next method

I found something about MsgId or MsgNo to get current msg, then with Next, I
get the next one, and so on

but Indy 10 doesnt have MsgId ! How can I use it?

  with NNTP do
  try
    Host := cpHost.Text;
    if not Connected then Connect;
    SelectGroup(cpGrupo.Text);
    GetHeader(MsgHigh, Corpo.Lines);
    Next;
    GetHeader(MsgId, Corpo.Lines); //  -------> problem here

TIA!
Alessandro

Replies