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
posted
0
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.