Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

script that emails?

Posted on 2003-10-21
1
Medium Priority
?
136 Views
Last Modified: 2010-04-14
I installed an intellgent ups on my server.  There is an option under the power options in control panel too run a program per task schedular when the battery is low.  I would like a small program that emails me.  Can a batch file do this?
0
Comment
Question by:donnatronious
1 Comment
 
LVL 85

Accepted Solution

by:
oBdA earned 500 total points
ID: 9596839
You can use blat for that. The command could look something like
blat.exe "YourEmailTextFile" -server some.smtp.server -u SomeUserName -pw SomePassword -f ups@your.domain.com -t your@target.email.com -s "UPS Alarm: Battery low!"
Blat - A Win32 Command Line SMTP Mailer
http://sourceforge.net/projects/blat/
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question