Last modified: Jul. 19, 2008
Contents
1 - Summary
2 - Blat installation
3 - Example batch file
1 - Summary
This guide will show you how to configure email using the Blat mailer for
system event notication in Windows. Blat is a command line utility that
sends email using SMTP. This has been tested in Windows NT4/2000/XP/2003.
2 - Blat installation
Blat can be downloaded at http://www.blat.net/. Download and then extract the
files to the Windows system32 directory. Open a command prompt and type the
following commands.
These commands will store the configurations in the Windows registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Public Domain\Blat
3 - Example batch file
Here is an example batch file that sends an email.
@echo off
cls
set to="testuser@test.com"
set subject="Subject"
set body="Body"
set profile="test.com"
blat -to %to% -subject %subject% -body %body% -p %profile%
exit
|