Couple of quick notes. You need blat.exe to send mail with this script. The S_BIN and S_CONFIG are environment variables that define (to my scripts) where other binary tools and script are (S_BIN) and config files can be found (S_CONFIG). You can easily replace that with @SCRIPTDIR, but I personally find that messy..

I create C:\Local to hold all my config files for all scripts. I create C:\Local\Bin for any executables and scripts. This way, everything is in one logical place, and one script can use another easily.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D