Use the -attach option with "*.txt". Â For example: blat -body "Here are the files you requested." -attach *.txt -to somebody -subject "text files request"
-------- Original message --------
From: "***@yahoo.com [blat]"
Date:11/13/2017 5:31 PM (GMT-08:00)
Subject: [blat] Attaching several .txt files as attachment
We are getting somewhere .... Our Batch File which sends .txt files "Inline", split into several Emails in case there is more than one file in the Directory, is working.
blat.exe filename.txt followed by parameters for recipients, signature, log file, etc.
How do I call Blat in case I want to call all txt files in a directory, and have them all attached to one mail (Not in Body!)?