Internet Direct (Indy) Version 9.0.2 Beta
TIdNNTPServer.OnCommandNewGroups
Specifies the NNTP NEWSGROUPS command event handler.

property OnCommandNewGroups: TBasicEvent;
Description
OnCommandNewGroups identifies the TNewsEvent event handler used to respond to the NNTP NEWSGROUPS command, as described in RFC 977.

NEWGROUPS requests a list of newsgroups created since the date and time specified in the event handler parameter. Date is a 6-digit string in the format YYMMDD. Time must also be specified in 6-digit 24-hour format HHMMSS. Time is assumed to be in the server timezone unless the token "GMT" appears in the time string.

The event handler parameter string may also include an optional distribution groups list.

NEWSGROUPS will return a list in the same format as the LIST command.

Applications should assign a procedure to the event handler in order to respond to the NNTP command, or the server will return the default message:

  500 command not recognized