Emailing should work. Does the same action work when you run the progam normally? What SMTP server/port settings are being used?
I checked it again. The app makes the monitoring checks after reboot and before any login. Before reboot I set a service's start behaviour to "Deactivated". And: It works. The app checks it during the non-loggedin-period and writes the result in its log file correctly. But no email is sent.
My email options: It is an smtp server in our government wan, port is 25. And I saved my username and password in the global settings of your app.
When I'm logged in it works fine.
What I am going to try ... if you help me: Do you know any free-email-provider in America which offers smtp email sending via port 25 (non-encrypted, no ssl, no tls)? I think in Germany there is only one left which does. I will try them. Maybe you know another one in US ... ?
But i think that could not be the reason why the app doesn't send the email before windows login ...
Could it be that the app analyses the service's start behaviour? Maybe the app says: It doesn't run, but it is okay, because it is deactivated ...