Vcl.ExtActns.TSendMail.Text

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Text: TStrings read FText write SetText;

C++

__property System::Classes::TStrings* Text = {read=FText, write=SetText};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TSendMail

Description

Specifies the content of the mail message.

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.

See Also