Internet Direct (Indy)
Home
PreviousUpNext
TIdMessageEncoderInfoMIME.InitializeHeaders Method

Updates message properties from headers in the message part.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.