Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTPServer.OnCommandNext
Specifies the NNTP NEXT command event handler.

property OnCommandNext: TBasicEvent;
Description
OnCommandNext identifies the TGetEvent event handler used to respond to the NNTP NEXT command, as described in RFC 977.

NEXT is used to move the internally maintained "current article pointer" to the next article in the current newsgroup. If no more articles remain in the current group, an error message is returned and the current article remains selected. A response indicating the current article number, and the message-id string will be returned.

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