Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using Outlook with java

Posted on 2002-03-07
7
Medium Priority
?
276 Views
Last Modified: 2013-11-24
Is there any way of opening the Microsoft Outlook from a java app?
0
Comment
Question by:thelmapc
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:m_onkey_boy
ID: 6848346
Runtime.getRuntime().exec("c:\\Program Files\\Microsoft Office\\Office\\Outlook.exe");
0
 

Author Comment

by:thelmapc
ID: 6848360
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
 
LVL 4

Expert Comment

by:m_onkey_boy
ID: 6848381
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 4

Expert Comment

by:m_onkey_boy
ID: 6849395
You should check out the MAPI interface microsoft provides.  This may prove to accomplish what you are looking for.
0
 
LVL 9

Expert Comment

by:Venci75
ID: 6849864
Or - check the java mail exesion:
http://java.sun.com/products/javamail/
0
 

Author Comment

by:thelmapc
ID: 6850272
How can I get more information about this MAPI interfaces microsoft provides?
0
 
LVL 4

Accepted Solution

by:
m_onkey_boy earned 400 total points
ID: 6850931
I would go to microsoft.com
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question