SuccessEmail_MessageBody

Top  Previous  Next

S

A

W

WS

ü

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

SetStartup SuccessEmail_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 successfully completing the processing of a script.  This option values the Body textbox on the Success 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

#COMPUTERNAME#

The name of the computer where the script is currently running

 

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.

Note: By default, EMUE enables encrypted communication with your SMTP email server, if that server supports TLS or SSL encryption (for the specified port). This encryption only encrypts the communication directly with the email server, and provides no protection beyond that point. Generally, email is not considered a secure form of communication, especially when emails are directed to parties external to your network via the internet. As a result, you must use caution when sending emails via EMUE to ensure that any email that may be routed outside of your organization does not contain any PHI.

 

Sample:

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

SetStartup SuccessEmail_MessageBody "The charge posting script finished successfully at #NOW# on #TODAY#.  Please notify operations"

 

See Also:

SuccessEmail

SetRuntime

SMTPEncryption