Toad World® Forums

Remove Code / Log from Error Email


#1

TOAD Data Point 4.3

I use the send email when an error occurs option on every report I run. I love the option. Some of the code we run involves key words that flag our compliance monitor though. How do I make sure only the error is contained in the email?

Dave


#2

Pretty sure if you clear the “Attach log file to email” checkbox in the Setting task, you’ll no longer get the log on the email.

As for preventing the error message and code from appearing in the email, have you tried the “Use file for body” checkbox option under the Compose Email button. I have not used it before, but it might suppress the default body of the email and replace it with the contents of the file. Possible it might still write the error/code info below your form, you’ll have to try it out to see. You might also change the logging level to Basic if you have it as Verbose, but it will also limit your log itself to Basic info.

See help topic Automate Sending Email. Another help item is Automate Find and Replace, if you want to customize the email body file to add variable info.