The Finest Hand-Selected Downloads
Individually reviewed & tested
Store News

Blat 3.2.12

Send emails from the command line with this handy scripting tool

Operating Systems:
Windows 10, Windows 7 (32 bit), Windows 7 (64 bit), Windows 8, Windows Vista, Windows XP
Open Source
Software Cost:
Internet Tools
Date Updated:
30 December 2015
Downloads To Date:
Download Size:
243.00 KB

Blat is a simple command line utility which sends email via SMTP.

Why? For regular messaging it's plainly easier to use your standard email client. But what Blat allows you to do is send emails from scripts and batch files, so you can have messages sent automatically as an alert for whatever situation you like.

First you must set up Blat, though. Launching the program from the command line will display the various switches and settings you'll need to apply, but a minimal setup will look something like this:

Blat -SaveSettings -f -server -u -pw password

(Replace the first "" with your sending address, "" with your SMTP server, the second "" with your user name, and "password" with, well, your password.)

With that done you can then probably send an email like this:

Blat filename.txt -to

Where "filename.txt" is a text file containing whatever you'd like to send (it transmits the contents of the file rather than sending it as an attachment, so it must be plain text), and is the email address where you're sending the message.

But if you need more flexibility then there are additional switches you can use, for example specifying the port to use for transmission. And you can optionally add extra switches to the sending line, so for instance you can have different scripts send messages via different servers and email accounts. Enter Blat at the command line to see the full syntax.


[+] Added a new command line option -IMAF to Ignore Missing Attachment Files.

[-] Corrected UTF-8 text conversion to Unicode.

[-] Correctly handle empty Unicode files that contain only the BOM.

[-] Corrected the help text for IMAP UserID and IMAP Password.


It's a little cumbersome to configure, but once set up Blat sent all our test emails without problems.

Your Comments & Opinion

Related Downloads Other Downloads From This Category

The ultimate command line toolkit?

Open Source

Send emails from the command line/ scripts


Create batch files and run them with a click

Open Source

Find and uninstall junk programs - from a batch file?

Open Source
Secure & Tested Software
Instant Download 24/7
10+ Years of Service