|SYNTAX||SendEmail(''subject'', ''message'', ShowUI = False )|
|FUNCTION|| Send an e-mail to an address defined in the Preferences/Alert page.
A direct version of functionality already provided by AlertIF. This function sends e-mail unconditionally and it is easier to use if you don't need state logic provided by AlertIf.
Note that "From" and "To" addresses as well as SMTP email configuration should be done in Tools->Preferences, "Alerts" page. Without configuring E-mail settings first this function will not work.
E-mails are sent asynchronously (so function returns BEFORE e-mail is actually sent, sending occurs in the background)
ShowUI parameter decides whenever user interface of e-mailer program is shown after sending e-mail or not.
|SEE ALSO||AlertIf() function|
The SendEmail function is used in the following formulas in AFL on-line library:
Updated on-line reference