Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTP.GetNewNewsList
Retrieves a list of new article message IDs.

procedure GetNewNewsList(const ANewsgroups: string; const ADate: TDateTime; const AGMT: boolean; ADistributions: string); overload;
procedure GetNewNewsList(const ANewsgroups: string; const ADate: TDateTime; const AGMT: boolean; ADistributions: string; AList: TStrings); overload;
Description
GetNewNewsList is a method that retrieves a list of article message-ID's for messages since a date and time (ADate).

Set AGMT to True to indicate that the time is based on Greenwich Mean Time or Universal Time (0 meridian) or false for the local time-zone.

ANewsgroups is a list of newsgroups. ADistributions is an optional list of distributions such as "nj", "dc".

There are two ways to retrieve the list of newsgroups. First, call GetNewNewsList without the AList parameter and use the OnNewNewsList. As an alternative, call the GetNewNewsList with the AList parameter and AList will contain the results.