Internet Direct (Indy) Version 9.0.2 Beta
TIdNNTP.GetHeader
Retrieves the headers for an NNTP article.

function GetHeader(const AMsgNo: Cardinal; const AMsgID: string; AMsg: TIdMessage): Boolean;
Parameters
const AMsgNo: Cardinal
Article index number or 0 if you use a Message ID.

const AMsgID: string
Message Id for the article you wish to retrieve.

AMsg: TIdMessage
TIdMessage where the complete article should be stored.

Description
GetHeader is a procedure that retrieves the complete headers for a news article.

If you are retrieving headers for listing in a news-reader or where you only need information displayed by a news-reader, use the SendXOVER method as it is more efficient than this method.

You have to use SelectGroup to select the newsgroup before using this method.