Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTPServer.OnCommandStatID
Specifies the NNTP STAT <message-id> command event handler.

property OnCommandStatID: TBasicEvent;
Description
OnCommandStatID identifies the TDoByIDEvent 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 the STAT command to select by message-id is valid but of questionable value, since a selection by message-id does NOT alter the "current article pointer".

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