Pages: 1
RSS
Creating emails for import into the bat, What format and minimal info is needed by thebat
 
I've been using TheBat pro for a number of years and I find it very useful. I'd like to take the next step now and have my database prepare text emails to be sent via the bat. I see the /import command but what is the format needed by the bat and what is the minimum amount of information I need to put in the file. I've viewed the source of sent mail and it shows information apparently created by the bat that I certainly would not have a way to do.
I would think I would need only to provide the To: address, subject and body of the email. All the rest of the information should be derivable from the mailbox I use to send the mail.

As a programmer I guess I could just write an email sender in Delphi but if theBat can do it I'd rather do it that way.
 
I think you're looking for the wrong tool, as I understand that you want to send messages.

You'd better look for the /Mail parameter, that way you only need to supply To: Subject: and body. You can even use text file templates with macros.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
I don't see how I missed that in the help but I agree that's probably the right thing along the the /batch command so I could send perhaps 20 or 30 emails at one time. Thanks for point that out.
Pages: 1