How to get attachements as a single file?

delphi package - automated exception handling
Post Reply
Posts: 10
Joined: Thu May 14, 2015 8:28 pm

How to get attachements as a single file?

Post by cubic »

I get many bug reports by email. I would like to have them sorted by folders.
When I drag and drop them from my email client, they all have the same name, and the new dragged files will overwrite the old/existing ones (on disk).
it is quite painful to rename them all manually. And then you have to keep the PNG and MAD files paired togheter.
This process cannot be really automated.

Can we have the reports as a single file? Like the E.L. has?
And also, the bug name should be also in the file name: like:
Re: Bug report Program.exe 12.1, Invalid pointer operation.

Great Delphi plugin
Site Admin
Posts: 10338
Joined: Sun Mar 21, 2004 5:25 pm

Re: How to get attachements as a single file?

Post by madshi »

The easiest solution would be to customize the file names etc at runtime. E.g. you could do it in a custom exception handler, by using RegisterExceptionHandler(). And in your handler you could then access the "exceptIntf" parameter, e.g. like this:

Code: Select all

procedure YourExceptionHandler(const exceptIntf: IMEException; var handled: boolean);
  exceptIntf.BugReportSendAs := 'whateverFunnyName.mes';
See for a list of related settings you can change at runtime here: ... portSendAs
Post Reply