How to get attachements as a single file?

delphi package - automated exception handling

How to get attachements as a single file?

Postby cubic » Sun Oct 04, 2020 12:42 pm

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
Posts: 10
Joined: Thu May 14, 2015 8:28 pm

Re: How to get attachements as a single file?

Postby madshi » Mon Oct 05, 2020 9:44 am

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
Site Admin
Posts: 10319
Joined: Sun Mar 21, 2004 5:25 pm

Return to madExcept

Who is online

Users browsing this forum: No registered users and 21 guests