Solved

script that emails?

Posted on 2003-10-21
1
126 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 83

Accepted Solution

by:
oBdA earned 125 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

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…
This problem is more common than not and I will show you some things to check to solve this problem.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 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