WarningEmail_MessageBody

Top  Previous  Next

×V4.1Ø

S

A

W

WS

ü

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

SetStartup WarningEmail_MessageBody <Message Body Text>

       Where:

               <Message Body Text> is a literal string.

 

Description:

This option defines the custom message that is added at the beginning of the body of the email generated upon a command delay as configured by SendEmailOnCommandDelay or a license that is about to expire.  This option values the Body textbox on the Warning Email tab of the EMUE Tools - Current Settings - Option Settings dialog.  If not provided, the email body will contain only the standard message.

 

The string can contain one or more of the following terms that will be replaced when the email is sent.

Term

Will be replaced by

#TODAY#

The current  date in the format MM/DD/YYYY

#DATE#

The current date in the format MMDDYY

#NOW#

The current time in the format HH:MM:SS

#TIME#

The current time in the format hhmmss

#INPUTFILENAME#

The name of the current input file without path or extension

#SCRIPTFILENAME#

The name of the current script file without path or extension

#SCRIPTFOLDER#

The name of the folder path where the current script file is located

 

Note:  All backslashes (\) that appear in the <Message Body Text> should be replaced by two backslashes (\\) so that EMUE does not mistake the backslash for an escape character.

 

Sample:

       The following statement instructs EMUE to include a custom message in the body of a success email.

SetStartup WarningEmail_MessageBody "The charge posting script experienced a unusually long delay while running a command at #NOW# on #TODAY#.  Please notify operations"

 

See Also:

SuccessEmail

SetRuntime

WarningEmail

SMTPEncryption