Internet Direct (Indy)
Home
PreviousUpNext
TIdMessage.IsBodyEmpty Method

Indicates if the Body for the message is blank.

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

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.