Internet Direct (Indy) Version 9.0.2 Beta
TIdNNTP.SendTakeThis
Performs non-negotiated article transmissions.

function SendTakeThis(AMsg: TStringList): String;
Parameters
AMsg: TStringList
ASCII contents of the message(s) to send.

Returns
String - Textual response from the NNTP server.

Description
SendTakeThis is used to support streaming NNTP or non-negotiated NNTP article transmissions. SendTakeThis is similar to SendIHave, except that no response is sent from the server after each article. Responses can be examined to determine how many articles were accepted by the NNTP host.

AMsg should contain the ASCII text that represents the contents of the NNTP message, including NNTP headers. Use the OnSendTakeThis event to perform custom verification or processing of the NNTP message prior to transmission.