Dusty,
Gets setup like this:
mybatalias=mybat.bat myparam1 myparam2
myparam1 and myparam2 get put in when you define the
alias.
Gets called like this:
mybat myparam1 myparam2 <spool_file_containing_msg_passed_from_smtp32>
spool_file_containing_msg_passed_from_smtp32 will be the
temp file that contains the message passed from the smtp
server. No way to determine the contents, your program
(mybat) is expected to parse the tmp file and figure out
what to do with it. Also your program will have to delete
the file when its done with processing.
Help any?
Bob
---------- Original Message ----------------------------------
From: "## Dusty Carden" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 10 Aug 1999 21:02:24 -0500
>Okay, I guess I am still missing something. Where does the yadayada.txt
come from? And can you determine the contents of yadayada.txt
with the message?
Dusty
----- Original Message -----
From: David Gregg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 1999 8:28 PM
Subject: Re: [IMail Forum] Program alias
>
> if you have an alias called 'doit' declared as c:\doit.bat
> the resulting call will be something like c:\doit.bat
> c:\imail\spool\yadayada.txt
>
> If you need a parameter to the bat file, simply declare it as 'c:\doit.bat
> some_parm_here'
> this would result in c:\doit.bat some_parm_here
c:\imail\spool\yadayada.txt
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
--
R. Stull
Programmer and
C++ code demolitions expert
Ipswitch, Inc.
http://www.ipswitch.com/
--
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.