![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Windows NT/2000/2003 Server/2008 Server Find support for Windows NT/2000/2003 Server/2008 Server editions. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2004
Posts: 203
OS: Win XP
|
Can Windows Server email me when it restarts
I am running Windows Server 2003, whenever it goes down because of power failure or a needed update it automatically restarts itself. I like this very much but I was wandering if there is a place where I can set it up to email me once it has restarted? Anybody know?
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#4 (permalink) |
|
Registered User
|
Here are a few options depending on your setup ... http://www.motobit.com/tips/detpg_send-email-from-asp/
|
|
|
|
|
|
#5 (permalink) |
|
TSF Enthusiast
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp
|
just use blat, set the server to execute the batch file during boot.
Batch file blat -install email.server.com blat@yourdomain.com blat -to yourname@domain.com -subject "server x rebooted" |
|
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Oct 2004
Posts: 203
OS: Win XP
|
I downloaded blat. I am trying to understand how it works. I unzipped the file under C:\ I double clicked on the blat.exe a command prompt window pops up for under a second. I am not sure if that is what I was supposed to do?
I then went to the command prompt and tried typing in blat. I read in the FAQ section that if you want to see the different syntax to type in blat. Anyways it says it is not a recongized command. I don't know if I am doing this totally wrong |
|
|
|
|
|
#7 (permalink) |
|
TSF Enthusiast
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp
|
make a batch file, edit the information to your needs
you dont run this from the command prompt, its a script The bold information is things you need to change Batch file blat -install email.server.com blat@yourdomain.com blat -to yourname@domain.com -subject "server x rebooted" After this is done goto run,"gpedit.msc" local computer policy, computer config, windows settings, scripts, startup, add, add your blat script |
|
|
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Oct 2004
Posts: 203
OS: Win XP
|
Ok I get it a batch is a .txt file. Ok, I created the file and went to gpedit.msc and was able to add my batch file.
What does the script parameter part mean? Is that just a name for the script or does it do something else? ![]() Also is there anyway I can test this script. I guess I could restart it Here is what I put. Batch file blat -install smtp.hughes.net blat@schlabachwooddesign.com blat -to info@schlabachwooddesign.com -subject "server SWD01 rebooted" Hughes is our ISP. schlabachwooddesign.com is our web site and email address's. How can I test this without restarting my server? Also where does blat come in? |
|
|
|
|
|
#10 (permalink) |
|
TSF Enthusiast
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp
|
you may need to include the path to blat program in the script.
Script cd \ cd program files\blat blat -install smtp.hughes.net blat@schlabachwooddesign.com blat -to info@schlabachwooddesign.com -subject "server SWD01 rebooted" Blat is a smtp email client, its a program that sends outglong mail using a external smtp server. |
|
|
|
![]() |
| Thread Tools | |
|
|