Solved

Using Outlook with java

Posted on 2002-03-07
7
243 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
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.

 
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
how do i compare an object based on two fields 6 54
web application structure 18 77
eclipse with Angularjs2.0 3 36
jsp login check 12 32
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
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:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

777 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