JSI Tip 4721. Freeware command-line SMTP mailer.

Jerold Schulman

January 21, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today


A significant number of tips on these pages alert you using the NET SEND command.

If you write a batch script that requires an alert, you could be notified via an email, using BLAT freeware.

After installing BLAT with blat -install mail.jsiinc.com [email protected] 3, I received:

Failed to open registry key for Blat profile , using default.
SMTP server set to mail.jsiinc.com, on port 25 with user [email protected], retry 3 time(s)

When I used blat c:utilblatread.txt -to [email protected] -s "This is a BLAT test", the CMD window displayed:

Sending c:utilblatread.txt to [email protected]:This is a BLAT testLogin name is [email protected] number 1 of 3.

AND I received the email, containing the contents of c:utilblatread.txt.

NOTE: See What options does BLAT, the freeware command-line SMTP mailer, support?



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like