Topic Path: Symbol Reference > Classes > TIdMessage Class > TIdMessage Events > OnInitializeISO Event
TIdMessage.OnInitializeISO Event

Event triggered to maintain content transfer encoding, header encoding, and character set used for the mail message.

property OnInitializeISO: TIdInitializeIsoEvent;

OnInitializeISO is a TIdInitializeIsoEvent property that represents the event handler triggered when the content transfer, header and language encodings are determined for mail message prior to encoding for transmission. 

OnInitializeISO allows the application to set parameter values in the event notification. 

The initial parameter values are assigned in TIdMessage.InitializeISO. The transfer encoding for the message is set to 8-bit encoding. The header encoding defaults to base64. The default character sets is set to the value indicated in IdCharsetNames using IdGetDefaultCharSet

OnInitializeISO can be used to override these default settings. 

Applications must assign a procedure to the event handler to allow responding to the event notification.

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