Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Apr : idnntp
| Subject: | idnntp |
| Posted by: | "Boris" (boris..@hotmail.com) |
| Date: | 9 Apr 2005 13:37:34 |
Does anyone know where i can find information on how to use the idnntp component? All i found was the fopllowing:
IdNNTP1.Host:='newsgroups.borland.com';
idNNTP1.Connect;
idNNTP1.SelectGroup('borland.public.delphi.internet.winsock');
idNNTP1.GetArticle(idNNTP1.msgLow,idmessage1);
msgcount:=idnntp1.MsgCount;
label1.Caption:=inttostr(msgcount);
// idnntp1.g)
for i:=0 to idmessage1.Headers.Count-1 do
memo1.Lines.Add(idmessage1.Headers.Strings[i]);
The above does not work as well as i want. I would like to retrieve all the headers and then be able to read each of them.
Does anyone have anu suggestions?
Thanks