I have a VB.NET app that runs as a windows service. I would like to incorporate some kind of error notification into it in case there is an exception. I would like to either send an email directly from the application or FTP a file containing the error message to a directory on a server.
Because this application is a Windows service and runs when the machine is logged off I think there will be some difficulty sending an email using an outlook interface (no profile is loaded)
And actually, FTPing a file is preferable in this situation. Does anyone have any code that is capable of FTPing a file to a location given a server, user ID password, file to load and location?