Using Outlook with java

Is there any way of opening the Microsoft Outlook from a java app?
thelmapcAsked:
Who is Participating?
 
m_onkey_boyConnect With a Mentor Commented:
I would go to microsoft.com
0
 
m_onkey_boyCommented:
Runtime.getRuntime().exec("c:\\Program Files\\Microsoft Office\\Office\\Outlook.exe");
0
 
thelmapcAuthor Commented:
Sorry, I wasn't specific enough.
Ok, with this command line I can call the outlook, but I need to create a new email, with an attach file.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
m_onkey_boyCommented:
If (and it's a real big 'if') Microsoft has an api to talk to outlook by manually taking over sdin, then you could do it by manipulating the process returned by the above call.
0
 
m_onkey_boyCommented:
You should check out the MAPI interface microsoft provides.  This may prove to accomplish what you are looking for.
0
 
Venci75Commented:
Or - check the java mail exesion:
http://java.sun.com/products/javamail/
0
 
thelmapcAuthor Commented:
How can I get more information about this MAPI interfaces microsoft provides?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.