| Newsgroups |
gmane.mail.blat |
| Message-ID |
<[email protected]> |
I find that creating a.bat file containing just
Blat myfile –to [email protected]
Is simplest. I can execute a.bat in the blat directory with no issues
Trying to execute a.bat %1 %2 becomes problematic, seems to need quotations
Most programing languages have some sort of low level file creation routine, so it is easy to create the bat file and stuff in the actual values. You can then call the bat file and delete it later.
Mike Mattos
“Confidence is what you have before you understand the problem.”
Woody Allen <http://www.goodreads.com/author/show/10356.Woody_Allen>
From: [email protected] [mailto:[email protected]]
Sent: February-17-15 02:00
To: [email protected]
Subject: [blat] Replacing bmail with Blat, need help
Howdy,
I'm trying to replace bmail with blat. I have a patch file and it uses some standard "Set" commands for variables.
I specified all of them and then put in the cmd line to send the email where bmail is currently specified.
The email is never sent.
I am not sure if it's because of the order of the things in the cmd line or not.
I ran a cmd to just send a test email and that works. The batch file uses a variable for "To", "From", SMTP Server, and then it has a subject specified but that contains a parameter to use a variable for a "system name" which the script populates, and then the rest of the subject line is static text, and the message body is supposed to be the contents of a text file.
I can post the code, but any quick suggestions? I ran some tracing and the email never leaves when done in the script. When I run the cmd and specify each items as static text, it runs fine.
[Non-text portions of this message have been removed]