We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
5,208 Software Downloads

Blat 3.2.4

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 [email protected] -server mail.domain.com -u [email protected] -pw password

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

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 [email protected] 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.

3.2.4
[-] Changed X- header processing to use Buf definition rather than a fixed array.  The change is made to organization and aheaders, to prevent memory overruns.
[-] If using alternate text, such as when sending plain text and HTML, and if that alternate text is Unicode, be sure to set the charset for the alternate text section and set Content-Transfer-Encoding: 7BIT or 8BIT as needed and available.
[-] If the message body charset is UTF-8 or UTF-7, and MIME is expected, set Content-Transfer-Encoding: 7BIT or 8BIT as needed and available instead of setting Content-Transfer-Encoding: quoted-printable.  The Unicode message body can then be sent as-is, if 8-bit is allowed, or sent as UTF-7 if 8-bit is not available from the server.
[-] Ensure message headers are properly sent when sending multiple attachments across multiple messages, and the charset is UTF-8 or UTF-7.
[-] Ensure the closing boundary marker is sent, when needed.

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 '2015-03-03 09:15:00'}


IDG UK Sites

LG G4 Note UK release date and specification rumours: Samsung Galaxy Note 5 killer could be the LG 3......

IDG UK Sites

In defence of BlackBerrys

IDG UK Sites

Why we should reserve judgement on Apple ditching Helvetica in OS X/iOS for the Apple Watch's San...

IDG UK Sites

Retina 3.3GHz iMac 27in preview: Apple cuts £400 of price of Retina iMac with new model