hi, I need to create a batch file that sends an email automatically when a windows service stops.
I could have the batch file run every 10 minutes to see if the service is active, but I have no idea how to give an if condition and then send an email. First of all is this possible? any suggestions would be great to know. Thanks.