by madshi » Wed Apr 16, 2014 6:57 am
You can send the report in the email body by changing the email body text to e.g. "%bugReport%". However, IMHO that makes it harder to read/interpret the bug reports, because the emails are usually not shown with a monospace font. I'd suggest to extract key information which you want to set rules for and put them into the mail body, and leave the full bug report as an attachment. This should give you the best of both worlds. You can do this by registering a handler with madExcept.RegisterExceptActionHandler(stDontSync). In your handler look for "eaSendBugReport". You can then access to bug report properties by accessing "exceptIntf.BugReportHeader" and "exceptIntf.BugReportSections" and you can modify the email body by writing to "exceptIntf.MailBody". More details see documentation.