Topic Path: Symbol Reference > Classes > TIdMessageDecoderMIME Class > TIdMessageDecoderMIME Properties > BodyEncoded Property
TIdMessageDecoderMIME.BodyEncoded Property

Indicates if a message has an encoded body.

property BodyEncoded: Boolean;

BodyEncoded is a Boolean property that indicates the TIdMessageDecoderMIME instance is owned by a TIdMessage, and has a non-blank value in the TIdMessage.ContentTransferEncoding property for the message that owns the decoder. 

BodyEncoded is initialized in the Create constructor, and may contain False when the TIdMessage has a MIMEBoundary. BodyEncoded is also used in ReadHeader and ReadBody methods to determine if the ContentTransferEncoding, ContentType, and ContentDisposition values are read from mesasage headers or the acutal body of the message.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.