Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating an MS Outlook task through Java

 
mansi nair
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
mansi nair
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Googling for "MSDN" should take you straight to it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic