Topic Path: Symbol Reference > Classes > TIdMessage Class > TIdMessage Properties > NoEncode Property
TIdMessage.NoEncode Property

Indicates if encoding can be omitted for Headers and Body prior to message transmission.

property NoEncode: Boolean;

NoEncode is a Boolean property that indicates if encoding should be performed when sending message headers and other content. NoEncode can be used when the TIdMessage instance has been loaded using values that have already been encoded, or require no encoding prior to transmission. 

The default value for NoEncode is ID_MSG_NODECODE as assigned in the Create constructor. 

NoEncode is used in TIdMessageClient.SendMsg. When NoEncode is True, Headers and the optional Body for the message will be written by the message client using WriteStrings. 

When NoEncode is True, items in the MessageParts collection are not sent by the message client.

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