SendEmailOnErrorWhenDebugging

Top  Previous  Next

×V3.1Ø

S

A

W

WS

ü

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

SetStartup SendEmailOnErrorWhenDebugging {"Yes" | "No"}

 

Description:

Normally, when EMUE is debugging and encounters an error, there is a pop-up box indicating the error, and no e-mail is sent.  When SendEmailOnErrorWhenDebugging is set to "Yes," EMUE is configured to send error e-mails even when it is in debug mode.  When this option is set to Yes, EMUE will behave like the debugger is enabled, but error e-mails will be sent too.  There will still be message boxes indicating errors and when an error is encountered the script will pause so that the problem can be fixed on the spot before continuing.

This setting is helpful when the script is not quite ready to go into production because it is anticipated that there are outstanding problems, but it does not have to be monitored constantly.  After receiving an e-mail notification of a problem, the user can fix the problem easily because the debugger is enabled and the script is paused at the point where the error occurred.

 

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 send an email upon encountering an error while the SetStartup EnableDebugger is enabled.

SetStartup SendEmailOnErrorWhenDebugging "Yes"

 

See Also:

SetRuntime

SMTPEncryption