Internet Direct (Indy) Version 9.0.1 Beta
TIdPOP3.RetrieveHeader
Retrieves headers for a message.

function RetrieveHeader(const MsgNum: Integer; AMsg: TIdMessage): Boolean;
Parameters
const MsgNum: Integer
Message number to be retrieved.

AMsg: TIdMessage
Message instance where headers will be stored.

Returns
Boolean - True on success.

Description
RetrieveHeader is a Boolean function that retrieves the headers of the message number specified in MsgNum and stores the values in the AMsg instance.