Because of some error on my server, my
[SMTP Virtual Server #1] stops. I want to create job which will run periodically to check the
SMTP server status, if it is stopped then the script will start it again.
I have used
Start-Service "SMTPSVC" but it only starts the
UATSERV service and not the
[SMTP Virtual Server #1] virtual host (please have a look of the attached image).
How do I start the virtual server after the service is started?
My admin team is working on the issue. I wanted to use this temporary solution in the mean time.
Any help is appreciated... :)