Indy 9
|
TIdNNTPOnPost = procedure (AThread: TIdNNTPThread; var VPostOk: Boolean; var VErrorText: string) of object;
AThread is the TIdNNTPThread for the client generating the event notification.
VPostOk is a variable parameter that indicates the Post was handled successfully. The event handler can set VPostOk to False if posting is not allowed, or an NNTP protocol request is invalid.
VErrorText is an optional error message returned from the event handler when VPostOk is False.