Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Turn on/off SMTP server by batch file

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Renaming log files  
Author Message
cwh

External


Since: Mar 08, 2004
Posts: 2



(Msg. 1) Posted: Mon Mar 08, 2004 11:06 am
Post subject: Turn on/off SMTP server by batch file
Archived from groups: microsoft>public>inetserver>iis (more info?)

Is it possible to turn SMTP service on/off via batch file?

I can't leave mine running, but need it to run every so often to send
something vial email and CDONTS.

Thanks!

 >> Stay informed about: Turn on/off SMTP server by batch file 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 2) Posted: Mon Mar 08, 2004 11:33 am
Post subject: Turn on/off SMTP server by batch file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

net stop smtpsvc
net start smtpsvc

doug
 >-----Original Message-----
 >Is it possible to turn SMTP service on/off via batch
file?
 >
 >I can't leave mine running, but need it to run every so
often to send
 >something vial email and CDONTS.
 >
 >Thanks!
 >.
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Turn on/off SMTP server by batch file 
Back to top
Login to vote
removexcwh

External


Since: Feb 17, 2004
Posts: 2



(Msg. 3) Posted: Tue Mar 09, 2004 2:10 am
Post subject: Re: Turn on/off SMTP server by batch file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Very good... thanks!
"doug" <anonymous.DeleteThis@discussions.microsoft.com> wrote in message
news:948b01c4052b$1b060b10$a101280a@phx.gbl...
 > net stop smtpsvc
 > net start smtpsvc
 >
 > doug
  > >-----Original Message-----
  > >Is it possible to turn SMTP service on/off via batch
 > file?
  > >
  > >I can't leave mine running, but need it to run every so
 > often to send
  > >something vial email and CDONTS.
  > >
  > >Thanks!
  > >.
  > ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Turn on/off SMTP server by batch file 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Batch File to restart IIS Server - I currently have a batch file to restart the IIS Server on Win2k The file looks like: net stop /y iisadmin net start w3svc net start smtpsvc This works alright most of the time. However, sometimes it fails and the server does not restart. Is there a..

Run DOS Batch File - How do I run a dos batch file from within VB Script. I wnat to run a simple FTP Batch file .. Thanks ....

Restarting IIS 6.0 with batch file - I currently use the following batch file to: 1. Delete the isapi lock file 2. Kill autohost.exe (home made application) 3. Kill the PID's for inetinfo and all DLLHOST's 4. Restart IIS and it's sub services Will this same batch file work fine on IIS 6? ....

Execute a Batch File on IIS - Hi, I have a VB exe that I do not wish to rewrite into COM. Is there anyway I can make a webpage call that VB exe residing on the IIS server while passing it some parameters? For instance, I want my browser to sent the equivalent command to the VB...

Unexepected errors in exchange server turn off & back on a.. - We are using ME 2K SB Server and our Exchange server will Unexepectedly turn off & back on again. i HAD ORGINALLYGONE IN & TURNED THE SERVICES BACK ON. The errors reflected in the event log are as such; EVENT ID 36871: A fatal error occurred...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]