All our error emails are coming in with one common subject "An Exception Error occurred in WINSYSPR.exe"
We are getting overwhelmed with duplicate email subject lines which are all the same error.
Question 1
Is is possible to configure the email subject to: "WinSys Error: " + the actual error line ??
Since we have 150 users, this would make it much easier to distinguish the duplicates.
Question 2
If not in the subject line, can we put the error line in the body?
Possible to view exception line in email header?
Re: Possible to view exception line in email header?
You can do pretty much "everything" in a small exception handler. E.g. see here:
http://help.madshi.net/MESettings.htm#I ... ailSubject
In your handler you can then do "exceptIntf.MailSubject := 'whatever you like';". So how do you get the actual error line? You can use "exceptIntf.Callstacks" for that. See here:
http://help.madshi.net/madExceptUnit.ht ... Callstacks
I'd suggest to use RegisterExceptActionHandler() and then if "action = eaSendBugReport", change the MailSubject.
http://help.madshi.net/MESettings.htm#I ... ailSubject
In your handler you can then do "exceptIntf.MailSubject := 'whatever you like';". So how do you get the actual error line? You can use "exceptIntf.Callstacks" for that. See here:
http://help.madshi.net/madExceptUnit.ht ... Callstacks
I'd suggest to use RegisterExceptActionHandler() and then if "action = eaSendBugReport", change the MailSubject.
Re: Possible to view exception line in email header?
Very nice. Thank you.