Topic Path: Symbol Reference > Classes > TIdMessage Class > TIdMessage Methods > ClearBody Method
ContentsIndexHome
PreviousUpNext
TIdMessage.ClearBody Method

Clears the contents of the message body.

procedure ClearBody;

ClearBody is a procedure used to clear the contents of the message body. 

ClearBody will ensure that text lines in Body are remove by calling Body.Clear. ClearBody also removes any items in the MessageParts collection by calling MessageParts.Clear

Use ClearHeader to remove the contents the message Header, or Clear to remove both the Header and the Body of the message.

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