cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Run Outlook Express automaticaly

ptc-3853482
1-Newbie

Run Outlook Express automaticaly

Hello,

I have one request from customer: when he receives activity (from workflow) asking him to send email to someone he wants for Outlook Express to be opened automaticaly so he could send email. I've added expression robot in workflow with following lines:

Runtime r = Runtime.getRuntime();

String path1="cmd /c start outlook";

Process p = r.exec(path1);

Problem is the following: Outlook Express does open but on a server, not a local users machine. Does someone have idea how to run OE on local machine?

Thanks

1 REPLY 1
jessh
5-Regular Member
(To:ptc-3853482)

If you want Java to directly do something on the client (launch a process in this case), then that Java itself should be executing on the client. In this case, this means the Java should be an applet (or Java Web Start application, but an applet is simpler here).

If you can figure out an indirect way to accomplish what you want, e.g. a mailto link, then you can avoid running Java on the client, but you certainly can't run Java on the server, tell it to launch a process and expect process to laucnh on the server.

Top Tags