Problem with sending reports

contains all delphi packages mentioned below
Post Reply
Lukasz
Posts: 3
Joined: Wed Nov 03, 2021 12:59 pm

Problem with sending reports

Post 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 5697 times
config2.jpg
config2.jpg (55.07 KiB) Viewed 5697 times
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Problem with sending reports

Post by madshi »

I'm not 100% sure what you want exactly. Can you explain again in other words?
Lukasz
Posts: 3
Joined: Wed Nov 03, 2021 12:59 pm

Re: Problem with sending reports

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

Re: Problem with sending reports

Post by madshi »

Oh wow, that's not supposed to happen. Can you reproduce this with a brand new almost empty test project?
Lukasz
Posts: 3
Joined: Wed Nov 03, 2021 12:59 pm

Re: Problem with sending reports

Post 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.
Post Reply