As the author of a C# application, I found that troubleshooting issues reported by users would be much easier if I had access to the exception or debug logs.
I have included a home-grown logging mechanism that the user can turn on or off. I want the user to be able to submit the logs via the internet so I can review the logs for the error.
I have thought of using either SMTPClient or a web service to send the information. SMTPClient might not work because firewalls may block outgoing SMTP access. Would a web service has issue with sending a large amount of data (potentially 1+ MB)?
What would you recommend as the best way to have an application transmit error reports directly to developers for review?
EDIT: Clarification: This is a Windows application and when an error occurs I want to bring up a dialog asking to submit the error. My question is about the mechanism to transmit the error log from the application to me (developer) via the internet.
Some way that let's the user know you mean to do it. Ask them for a proxy, ask them for an email server, something like that.
The security minded will get real nervous if they discover that you're opening a socket or something like it and sending data out without notification.
And rightly so.
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