automating iis smtp service
when emailing a large email list using the iis smtp service, is there a way to schedule stopping/starting the service automatically every e.g. 2 hrs or so?
Thank you.
Windows Forum
when emailing a large email list using the iis smtp service, is there a way to schedule stopping/starting the service automatically every e.g. 2 hrs or so?
Thank you.
by jordana
use the net stop and net start commands in a batch file. Then use the scheduler to schedule running the batch file every two hours.
--
REM Name: smtpbounce.bat
REM Description: stops and starts the SMTP
REM service on the machine it is run on
REM Usage: require wait.exe from reskit.
REM schedule using the scheduler service
net stop smtpsvc
wait 30
net start smtpsvc
---
Jordan
by abwsalma
Poster rated this answer.
by abwsalma
This discussion is closed to new replies.
Sort by Trending