PandaWood / ExceptionReporter.NET

ExceptionReporter is a .NET component that gathers detailed information on an Exception and the application/system running it. It allows the user to copy, save or send a custom-formatted report to the developer
MIT License
51 stars 32 forks source link

Send Anonymous Report Silently #21

Closed JavierCanon closed 6 years ago

JavierCanon commented 6 years ago

Specify whether ExceptionReporte.NET should send anonymous crash report to that doesn't contain private information. Only about 1/10 of users press "Send" button on crash reporting dialogs. And even less if there are required fields to fill. Without sending anonymous reports most of the problems are hidden from the developer.

Option like: SendAnonymousReportSilently = true;

PandaWood commented 6 years ago

Thanks, yes I hadn't really thought of that.
This seems like a good idea. It would only work with email set to SMTP (not MAPI), of course - MAPI just opens the user's email client. I suppose in sending an anonymous report, we should assume no screenshot sent?

JavierCanon commented 6 years ago

we should assume no screenshot sent? R: Maybe optional, if the user allow it, like in android app's or chrome... you can ask in setup, and put the option in settings...

I think that is better to use a webservice (http / https (php, asp.net, etc.)) for sending clients reports, because you dont need to store user and password for smtp server in the app (maybe can relay the msg to a smtp server). Smtp direct option is good for servers.

PandaWood commented 6 years ago

Right, I see your point with SMTP vs WebServices. I'm just wondering - would you expect a WebService to basically be a POST to a configurable URL which contains a single packet of properties/JSON (maybe not even pre-defined) to be consumed?

PandaWood commented 6 years ago

BTW there is another issue I've just re-opened which is basically to submit exception report to a webservice

So I will combine this request for "silent sending" as an additional feature on top of sending via WebService

PandaWood commented 6 years ago

Thinking about this, might not need another option... Right now, to invoke the ExceptionReporter you call Show: ExceptionReporter.Show() So, for a silent sending of a report, how about just calling a different method eg: ExceptionReporter.Send()

PandaWood commented 6 years ago

I've implemented the latter option - ready for the next release 2.5

I also should have noticed and mentioned, that sending a report silently is already possible by using the ExceptionReportGenerator.SendReportByEmail- it's just not quite as simple as it will be with the new method.