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

property OnCommandListgroup: TBasicEvent;
Description
OnCommandListgroup identifies the TNewsEvent event handler used to respond to the NNTP LISTGROUP command.

LISTGROUP is a Common NNTP Extension as described in RFC 2980. LISTGROUP is used to retrieve a listing of all article numbers in a newsgroup. If no group is specified, the current group is used as the default argument. A list of valid news groups may be obtained from 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