Internet Direct (Indy) Version 9.0.2 Beta
TIdMessageDecoder.ReadBody
Specifies the message decoder method used to extract an RFC-822 message body.

function ReadBody(ADestStream: TStream; var AMsgEnd: Boolean): TIdMessageDecoder; virtual; abstract;
Parameters
ADestStream: TStream
Stream where message body content will be stored.

var AMsgEnd: Boolean
Returns
TIdMessageDecoder - Message decoder used to process the message part.

Description
ReadBody is an abstract virtual function in TIdMessageDecoder that Specifies the method used to extract an RFC-822 message body in TIdMessageDecoder descendants to the ADest stream.

TIdMessageDecoder descendants must re-implement the ReadBody method to provide support for the appropriate encoding algorithm and/or processing based on specific RFC message header values.