Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTPServer.OnCommandStatNo
Specifies the NNTP STAT [nnn] command event handler.

property OnCommandStatNo: TNumEvent;
Description
OnCommandStatNo identifies the TDoByNoEvent event handler used to respond to the NNTP STAT command, as described in RFC 977.

The NNTP STAT command is similar to the ARTICLE command except that no text for the article header or body is returned. STAT is used to retrieve the acknowledgement response that contains the message number and message-id for the news article.

Using STAT [nnn] sets the "current article pointer" to the article identified by the message number.

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