Internet Direct (Indy) Version 9.0.2 Beta
TIdPOP3.RetrieveRaw
Retrieves message headers and body without performing MIME decoding.

function RetrieveRaw(const MsgNum: Integer; const Dest: TStrings): boolean;
Parameters
const MsgNum: Integer
Message number to be retrieved.

const Dest: TStrings
Destination used to store the message in raw format.

Returns
Boolean - True when message retrieval is successful.

Description
RetrieveRaw is a Boolean function that retrieves POP3 message headers without performing MIME decoding for the header values. RetrieveRaw uses the POP3 RETR command to intitiate message retrieval. Header values are obtained using Capture.

Use RetrieveHeader to get the parsed message headers and store the result in a TIdMessage instance. Use Retrieve to get an entire message and store the result in a TIdMessage instance.