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

property OnCommandNewNews: TBasicEvent;
Description
OnCommandNewNews identifies the TNewsEvent event handler used to respond to the NNTP NEWNEWS command, as described in RFC 977.

NEWNEWS provides a list of message-ids for articles posted to or received in the specified newsgroup since the specified date and time. Date is a 6-digit string in the format YYMMDD. Time must also be specified in 6-digit 24-hour format HHMMSS. Time is assumed to be in the server timezone unless the token "GMT" appears in the time string.

The optional parameter "distributions" is a list of distribution groups.

The format of the NEWNEWS listing will be one message-id per line, and terminated by a single line containing a period followed by CRLF.

NEWNEWS is used in conjunction with IHAVE, and NEWGROUPS commands to distribute news articles.

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