Topic Path: Symbol Reference > Classes > TIdMessageEncoderInfoMIME Class > TIdMessageEncoderInfoMIME Methods > InitializeHeaders Method
ContentsIndexHome
PreviousUpNext
TIdMessageEncoderInfoMIME.InitializeHeaders Method

Updates message properties from headers in the message part.

procedure InitializeHeaders(
    AMsg: TIdMessage
); override;
Parameters 
Description 
AMsg 
Message associated with the encoder instance. 

InitializeHeaders is an overridden Procedure in TIdMessageEncoderInfoMIME that updates properties in an associated TIdMessage instance based on the contents of the message. 

InitializeHeaders updates the TIdMessage.ContentType property to indicate the RFC message headers needed for the message specified in AMsg.

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