Solved

Using Outlook with java

Posted on 2002-03-07
7
235 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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 200 total points
ID: 6850931
I would go to microsoft.com
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 38
mapAB Challlenge 35 123
Impossible to extract MSI from new JAVA releases 2 47
reverse digits of a number using for loop 5 36
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now