This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
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: 41180
    
  45
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.


Ping & DNS - my free Android networking tools app
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: 41180
    
  45
Googling for "MSDN" should take you straight to it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating an MS Outlook task through Java
 
Similar Threads
char.. play
What is a bufferstrategy
Java Mail
to call outlook express in java/ native api
Multiple forms, but only one servlet to handle requests. Is it possible?