Internet Direct (Indy)
Home
PreviousUpNext
TIdText.Body Property

Textual content of the message part.

Pascal
property Body: TIdStrings;

Body is a TIdStrings property that represents the textual content of a MIME message part having one of the Text media types identified in the Internet Standards document: 

RFC 2046 - Multipurpose Internet Mail Extensions (MIME), Part Two: Media Types  

One of the text media types, like "text/plain" or "text/html", will be used in the ContentType property. TIdText is used when the ContentType property for a TIdMessage instance indicates a MIME-encoded message in the "multipart/*" media type family. 

For message that do not contain a ContentType in the "multipart/*" family, use the Body property in the TIdMessage instance to access the textual contents of the message. 

Body will be populated with the values from the TIdStrings instance passed an argument to the constructor. Body may also be maintained using inherited properties and methods from TIdStrings, like Text and Add.

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.