As the exchange administrator at my current place of employ, one of my favorite tools is the little e-mail command line tool that could: blat. It's a lightweight command-line based tool designed to send e-mails and that is basically it. One might say that lots of things can send e-mail these days and why would you ever need a command line tool to do that for you?
The main reason I use blat is when the ever-confident developer walks through the door and insists that his/her code is 100% correct and my mail server isn't allowing their application to send/relay e-mail off of my broken server. In some cases they are correct (for example if I have not allowed their app server to relay off my exchange server or something like that), but often times they have some messed up code. If they don't believe me - and they often don't - blat is a quick and easy method to put that to bed. I load it up on their app server and put in some example settings as close to their particular setup as I can get it - and in most cases blat is able to successfully fire off an e-mail as many times as I would like. It's a great troubleshooting tool for when you have custom applications attempting to send e-mail or just need general mail troubleshooting from a server or remote source. You could also incorporate it into a script to send an e-mail alert for your jobs if you wish. Plenty of fun uses for it out there!
FYI I don't hate developers despite the "tone" of this post - I just like to be prepared for them!
No comments:
Post a Comment