Solved

script that emails?

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now