Internet Direct (Indy) Version 9.0.2 Beta
TIdNNTPServer.OnCommandBodyID
Specifies the NNTP BODY <message-id> command event handler.

property OnCommandBodyID: TBasicEvent;
Description
OnCommandBodyID identifies the TDoByIDEvent event handler used to respond to the NNTP BODY command, as described in RFC 977.

BODY is used to retrieve the textual content that makes up the body of the news article with the specified message identifier.

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