Alert.email()

eSignal EFS 2

Alert.email()

Top  Previous  Next

 

Alert.email( body [, subject] [,prefix] )

 

This function generates an email alert using the text passed as parameters. Note that you must first set up your email configuration in the Alerts dialog in eSignal.

 

Note: you can customize the email settings from within the eSignal program. Click on View-->Alerts... to pull up the Alert Edit/Status window.

 

Parameters

 

body

text for body of email

subject

optional. text for subject line

prefix

optional. defaults to true. if set to false, the symbol will not be included before the Subject and Text of the email

 

Usage

 

var bCondition = false;

 

function main() {

 

       ...

       ...

       if ( bCondition==true ) {        

               Alert.email( "Breakout alert for IBM", "Alert!!!" );

               ...

       }

 

}