Send Emails From The Command Line

Continuing the subject of useful command line tools, I ran across one today which I am really thankful I found: Blat.

Blat is a command line SMTP mailer. It is simple to use, just “install” Blat by specifying the default SMTP server and from address to use and then you can email text files with a single command line instruction. This is ideal for backup or diagnostic warnings.

Again, this is a great tool to have and it sure beats my old method of piping text output from a file to the PHP command line…

Opt In Image
Free Weekly PCMech Newsletter
Almost 500 Issues So Far, Received By Thousands Every Week.

The PCMech.com weekly newsletter has been running strong for over 8 years. Sign up to get tech news, updates and exclusive content - right in your inbox. Also get (several) free gifts.

Leave a Reply

PCMech Insider Cover Images - Subscribe To Get Your Copies!
Learn More
Tech Information you can use, sent to your inbox each and every week. Check out PCMech's digital e-zine...