Page 1 of 1

Problem with sending reports

Posted: Wed Nov 03, 2021 1:37 pm
by Lukasz
Hello,

I want use option to send reports on email.
I use option Send via Smtp and it works.
I don't want left bugreport file after send so option empty bug report file afterwards is active

This is working ok but only for new reports.
If older reports were not sent because of no Internet and are saved in file bugreport.txt, than are not sended with new report
Is it possible?

My configuration:
config1.jpg
config1.jpg (43.44 KiB) Viewed 5888 times
config2.jpg
config2.jpg (55.07 KiB) Viewed 5888 times

Re: Problem with sending reports

Posted: Wed Nov 03, 2021 1:59 pm
by madshi
I'm not 100% sure what you want exactly. Can you explain again in other words?

Re: Problem with sending reports

Posted: Thu Nov 04, 2021 6:59 am
by Lukasz
Ok, here's the scenario:

Program is running with madExcept on computer with no connection to Internet.
After few hours madExcept catch first bug and save report to file.
After next few hours madExcept catch second bug and save raport to file (in file are 2 reports), still no internet.
Client run Internet on computer.
After next few hours madExcept catch third bug but on computer is Internet so report is sending to me.
In this report is only third report. Local file bugreport.txt with first and second bug disappeared. I lost 2 catched bugs.

Re: Problem with sending reports

Posted: Thu Nov 04, 2021 7:55 am
by madshi
Oh wow, that's not supposed to happen. Can you reproduce this with a brand new almost empty test project?

Re: Problem with sending reports

Posted: Thu Nov 04, 2021 8:53 am
by Lukasz
I can't...
Today it's working fine.

I have an option in the application to force the same error.
Yesterday every call it, generate report so I have few reports in one file bug_report.txt.
Today, same code and always one report in file (active option don't save duplicate exception). Yesterday was active too (default).

If it happen again I will let you know.