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

Indicates if the Body for the message is blank.

function IsBodyEmpty: Boolean;

Boolean - True when the message body is empty, or contains only whitespace.

IsBodyEmpty is a Boolean function that indicates if the Body for the message is blank. IsBodyEmpty examines if the contents of lines in the Body, and returns true if any value other than the following is encountered: 

 

IsBodyEmpty is used in the implementation of the DetermineIfMsgIsSinglePartMime method.

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