Computer Help forum

General discussion

BAT file needed to send e-mail

by larryaaron / November 20, 2006 6:25 AM PST

BAT file needed to send one of two e-mails to ADMIN depending on whether program in prior line processes with or without an error. We are running 2003Server.

One of our backup programs has built-in capabiltiy to sned e-mail to administrator when back-up processed properly, but this is not part of iomega's routine. Please help.

Discussion is locked
You are posting a reply to: BAT file needed to send e-mail
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: BAT file needed to send e-mail
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
No bat, but the file you need.
by R. Proffitt Forum moderator / November 20, 2006 6:32 AM PST
Collapse -
The SendEmail Bob pointed out...
by Edward ODaniel / November 20, 2006 8:30 AM PST

requires you to have Perl installed.

If you don't have it or aren't familiar with perl you might try:
http://www.febooti.com/products/command-line-email/ (inexpensive)

or

FREE - make use of Telnet

(Example:
telnet localhost 25
mail from:me@mydomain.com
rcpt to:me@mydomain.com
data
subject: batch successfully completed)

or http://www.blat.net/ (free)

or how about vbscript? http://www.paulsadowski.com/WSH/cdo.htm

or the perennial favorite POSTIE by Infradig Systems http://www.infradig.com/postie/index.shtml (current version is $15 for personal use and $50 commercial per machine and up depending on what all you want. You can also sometimes locate Version 2 on the web from before A.G. Davison sold it to Infradig with its freeware license

Alternatively you could use the MAPISEND.EXE utility that is supplied with the Exchange Resource kit. http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=13648&DisplayTab=Article

Even have a sample batch file here:
http://www.huweb.hu/maques/sendmailwin.htm

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

GIVEAWAY

Turn up the volume with our Apple Byte sweeps!

Two lucky winners will take home the coveted smart speaker that lets Siri help you around your connected house. This sweepstake ends Feb. 25, 2018.