File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Creating an MS Outlook task through Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Creating an MS Outlook task through Java" Watch "Creating an MS Outlook task through Java" New topic
Author

Creating an MS Outlook task through Java

mansi nair
Greenhorn

Joined: Feb 25, 2009
Posts: 2
Hi,
I need to create a task in Outlook using java. The requirement is such that a task should be created in the task folder of the receiver after he accepts and gets removed when he selects reject. I have come across java and outlook connector which serves all the purpose but all of them are licensed. Could anyone help me with the code snippet which serves my purpose not forgetting the fact that it is free..

would appreciate a quick reply as it is very urgent..

warm regards,
mansi
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
Welcome to JavaRanch.

I think you had better start looking at alternatives, because this will likely not be solved quickly. To my knowledge, there's no Java API for connecting to either Outlook or Exchange and creating items. So you would need to use JNI (or one of the JNI wrappers) to access Windows-native libraries that can interact with Outlook and/or Exchange.

if this is the route you want to go, see http://faq.javaranch.com/java/JavaIntermediateFaq#callingCom for some hints regarding the JNI wrappers. The MSDN site would probably be a better source for information regarding which native calls you need to make.


Android appsImageJ pluginsJava web charts
mansi nair
Greenhorn

Joined: Feb 25, 2009
Posts: 2
Can i get the MSDN site name for information regarding which native calls to be made to the Windows library that connects with Outlook?

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
Googling for "MSDN" should take you straight to it.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Creating an MS Outlook task through Java
 
Similar Threads
Multiple forms, but only one servlet to handle requests. Is it possible?
Java Mail
What is a bufferstrategy
char.. play
to call outlook express in java/ native api