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.