4,564 Software Downloads

Blat 3.1.1

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 your.address@domain.com -server mail.domain.com -u your.address@domain.com -pw password

(Replace the first "your.address@domain.com" with your sending address, "mail.domain.com" with your SMTP server, the second "your.address@domain.com" 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 recipient@domain.com

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 recipient@domain.com 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.

Platforms: Windows 7 (32 bit), Windows 7 (64 bit), Windows 8, Windows Server, Windows Vista (32 bit), Windows Vista (64 bit), Windows XP
Version: 3.1.1
Licence: Open Source
Manufacturer: Blat
Date Added: {ts '2013-08-21 11:32:00'}

Send to a friend

Email this article to a friend or colleague:


PLEASE NOTE: Your name is used only to let the recipient know who sent the story. Both your name and the recipient's name and address will not be used for any other purpose.


IDG UK Sites

Nexus 4 selling out and Nexus 5 spotted in bar

IDG UK Sites

Apple launches redesigned iCloud.com ahead of iOS 7 release

IDG UK Sites

Windows 8 smartwatch: what you need to know about the Surface smartwatch

IDG UK Sites

Google Wallet redesigned to work more like Apple Passbook

* *