Blat is a Public Domain Win32 console utility that sends the contents of a file in an e-mail message using the SMTP protocol. Blat is useful for creating scripts where mail has to be sent automatically. To use Blat you must have access to a SMTP server via TCP-IP. Blat can store various default settings in the registry. The command line options override the registry settings. Input from the console (STDIN) can be used instead of a disk file (if the special filename ‘-‘ is specified). Blat can also “carbon copy” and “blind carbon copy” the message. Impersonation can be done with the -i flag which puts the value specified in the “From:” line, however when this is done the real senders address is stamped in the “Reply-To:” and “Sender:” lines. This feature can be useful when using the program to send messages from users that are not registered on the SMTP host. Optionally, Blat can also attach multiple files to your message.
BLAT Windows Command Line SMTP Mailer