RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSendMail.Text Property

Specifies the content of the mail message.

Pascal
property Text: TStrings;
C++
__property TStrings Text;

Set Text to the content of the mail message. Because Text is a TStrings object, you can use the string list editor at design time to compose the message. Use the TStrings object's LoadFromFile method to load the value of Text from a file. 

When the action executes, TSendMail displays a dialog for the user to compose the mail message. In that dialog, the body of the message is initialized to Text. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!