[EMAIL PROTECTED] wrote on 10/15/2003 05:19:43 PM:

>
> >Has anyone called a perl script as a custom SMTP delivery application?
> >I've had success with a compiled VB6 application (.EXE), but am getting
> >this error with a perl script:
> >
> >20031015 134553 127.0.0.1                 SMTPD (CP) error 193 executing
> >"C:\mailUtility\xlate.pl" "C:\IMail\spool\Qb201028a00928f01.SMD"
> >
> >It operates perfectly when called from the command line.
>
> The Error 193 is a Windows error that means that the file is not an .EXE
> file.  The problem here is that Perl programs require some sort of
> interpreter.  You would need to use something like "PerlRunner
> C:\mailUtility\xlate.pl".
>
>                                                     -Scott

Interestingly, when I try and use Perl itself:
        c:\perl\bin\perl.exe C:\mailUtility\xlate.pl

I get this error:

SMTPD (CP) error 123 executing "c:\perl\bin\perl.exe C:\mailUtility\xlate.pl" "C:\IMail\spool\Qe74100d101449261.SMD"

Evidently, perl.exe cannot cope with the quotes that IMail is putting on the command line. (The filename, directory name, or volume label syntax is incorrect.)

Swing and a miss on PerlRunner.  Google showed me only one reference to Cleopatra SW, but they've got nothing therre.  Other ideas?  I guess that I can re-write this in VBScript.

Scott

Reply via email to