XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Xmail Filter Invokes External Java Application

Reply to this topicStart new topicStart Poll

> Xmail Filter Invokes External Java Application, java application does not return values
gamenow
Posted: Aug 7 2009, 03:47 AM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 3350
Joined: 4-August 09



xmail filter invokes external java application,but java application does not return values,xmail needs to know the return values(0/4/5/6/7...) to decide whether reject the incoming email or not.here is an eg.
"c:\java" "com.xxx.Test" "@@RFROM" "@@RRCPT" "@@REMOTEADDR"

how could i make the java application returns values...
PMEmail Poster
Top
atomant
Posted: Aug 10 2009, 03:59 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



if java application does not return any value then this is java script problem and not xmail. You can ask in scripting subforum with posting the code of the script. There are gurus that can help you.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
gamenow
Posted: Aug 11 2009, 03:34 AM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 3350
Joined: 4-August 09



public class Test{

public void static main(String[] args){


do something...

return ;
}



}


this is a simple java application...you see that this application returns with nothing,and you could not assign the return values in the MAIN method.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll