Internet Direct (Indy)
Home
PreviousUpNext
TIdMessage.ClearBody Method

Clears the contents of the message body.

Pascal
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.

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.