I've used something like this in my .qmail files in the past:
|/usr/java/jdk1.3/bin/java javaProgram
(adjust the path to the java executable to match your system)
You may also want to use the '-cp' switch with the java command to
set your classpath up properly
regards
d.l
On Wed, 4 Apr 2001 21:48:23 +0530, Mathew Chandy wrote:
> Hi all,
>
> This is my requirement.
>
> When a mail comes to [EMAIL PROTECTED] i want a program to be
>triggered and that program will have to process that mail.
>
> I did this using a program (exchange) which was written in C.
>
> In the .qmail file of the user I put "|exchange" and it worked
>
> Now I want to trigger a similar program written in Java how do i
>do this? Please help.
>
> or
>
> Otherwise please tell me how i can utilise Java mail APIs to
>utilise this functionality
>
> Thanks
> Mathew
>