Solved

Using Outlook with java

Posted on 2002-03-07
7
249 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hibernate insert example 13 34
how to install java on RHEL image on EC2 4 41
Unhandled exception type Exception 18 42
Problem to Alipay 10 44
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

838 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