Internet Direct (Indy)
Home
PreviousUpNext
TIdMessageEncoderInfo.InitializeHeaders Method

Specifies a method for generating RFC 2822 headers for a message.

Pascal
procedure InitializeHeaders(
    AMsg: TIdMessage
); virtual;
Parameters 
Description 
AMsg 
Message instance to be updated with RFC message headers. 

InitializeHeaders is a virtual procedure in TIdMessageEncoderInfo that specifies a method for generating RFC 2822 message headers for an instance of TIdMessage

Descendant classes, like TIdMessageEncoderInfoMIME, TIdMessageEncoderInfoUUE, and TIdMessageEncoderInfoXXE should override the method to provide support for generating message headers specific to the given encoder type.

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.