In 2008 Jeff wrote a post on crashing responsibly. In that spirit, I'm trying to add a "send bug report" button to my crash error dialog. The idea is that the user can easily send a full bug report which already includes version information, OS info, stack trace... This information should be put in the message body or in attachment files.
Unfortunately, sending such an email from a .NET application appears to be non-trivial:
Has anyone out there found a safe and reliable solution to do this?
We have solved this by creating a simple WCF web service that takes the stack trace, zipped logs etc, which the client posts to it and then let the web service server send the email. This way you don't have to have the SMTP authentication information on the client side, nor do you have to rely on the user to submit the error report via their email client.
We're now even zipping and submitting client side logs periodically to the backend server via this webservice and analyze those logs to preemptively detect any client side issues before they become problematic to the client
A quick way would be to set up your server to receive the information via PHP f.e. . Create an ErrorReport.php
and try to call it with every information you have wrapped in a base64 package.
This 'only' needs Internet-Access on Port 80, which is most likely available. From there you can process the information and pass it on into a database f.e. .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With