On BLAT, a command-line mailing utility

BLAT is a freeware command-line tool that sends the contents of a file, ASCII or binary, in an e-mail message using SMTP. The program is very small (36K), has no system type restrictions (it can be run on any Windows machine, server or workstation) and comes with full C++ source code as well.

There are many situations where a standalone system may need to periodically send e-mails of some kind -- warnings, updates, backup copies of files, and so on. On such a system the overhead involved in installing a full-fledged e-mail server may not be worth it, but a program like BLAT can do the job without unneeded excess baggage (especially if there are problems with licensing, etc). Options that can be passed to the program include port specification, number of retries, and multiple profiles.

BLAT's binary and source code can be downloaded

Requires Free Membership to View


Other authors have also created separate implementations of BLAT, one as a .DLL which can be called in the context of a third-party application. This is useful for integration into an existing program, or as something called from a script. The .DLL version can be found here.

Development of BLAT is ongoing, and a discussion list has been created to talk about the program and further possible features.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!

This was first published in December 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.