Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTP.SendCheck
Performs processing prior to news article transmission.

procedure SendCheck(AMsgID: TStringList; var AResponses: TStringList);
Parameters
AMsgID: TStringList
List of message IDs to verify.

var AResponses: TStringList
List of responses from the server.

Description
SendCheck performs the NNTP check command which verifies that an NNTP server will/can accept the message ids contained in AMsgIDs.

AMsgIDs should contain one message id per line for each message to be checked.

AResponses will contain the responses received for the message ids in AMsgIDs. Use AResponses to determine which messages should be sent to the server. An EIdException is raised if an error occurs while adding SendCheck responses to AResponses.

Use the OnSendCheck event to perform custom verification or additional processing. Note: It is not required to use SendCheck prior to sending a message using SendTakeThis.