I would like to use a batch file to send an email via a SMTP mail server with attachments.
I have all the settings because I use the SMTP within my SQL server. The purpose of this batch file is to take a 'txt' file and forward it to a recipient. One other wrinkle is that it has to be conditional based on the value within a file, Y or N.
Is this possible?