OK.  So the parameters must bne passed incorrectly I guess.
I created a small test script:

  var fso = new ActiveXObject("Scripting.FileSystemObject");
  a = fso.OpenTextFile(".\\testfile.txt", 8, true);
  d = new Date();
  a.WriteLine(d.toLocaleString());
  a.Close();

and I tried running it from the DOS prompt:

E:\MailRoot\bin>C:\WINNT\system32\cscript.exe  //T:120 //B
E:\MailRoot\bin\test.js

It works OK and generates the testfile.
But my mailproc, which looks like this, generates nothing.

"mailbox"
"external"      "0"     "0"     "C:\WINNT\system32\cscript.exe  //T:120 //B"
"E:\MailRoot\bin\test.js"

I tried deleteing the //T:120 //B but that didn't help either.
I checked both the EventLog and the Task Manager on Win2000, there is
nothing there.
I am guessing that either the line is being parsed incorrectly somehow, or
XMail does not have the permission to run csript maybe?
What else could be wrong?

Thanks in advance,

Peter

> -----Original Message-----
> From: Davide Libenzi [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 1 July 2002 7:49 AM
> To: '[EMAIL PROTECTED]'
> Subject: [xmail] Re: mailproc.tab does not execute "external" program
> 
> 
> 
> On Mon, 1 Jul 2002, Peter Vlaciky wrote:
> 
> >
> > I searched all of spool, but there are no log files generated.
> > Would that indicate that XMail thinks the external program 
> was executed OK?
> 
> yes
> 
> 
> 
> - Davide
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to