Solved

Using Outlook with java

Posted on 2002-03-07
7
253 Views
Last Modified: 2013-11-24
Is there any way of opening the Microsoft Outlook from a java app?
0
Comment
Question by:thelmapc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

749 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