Question : Outlook events not firing when using exchange activesync

We have created an Outlook (2002-2007) addin using VB6 and the OOM which has been working for years. The addin syncs calendar, contacts and task with a Sybase database. We have a couple clients using IPhone to sync with Outlook using the Exchange Active Sync. Our code is activated on the ItemAdd and ItemChanged events in Outlook. Problem - The events do not seem to be firing when the items are changed or added in the IPhone. The changes go to Outlook but no events are fired. If we modify the item once it is in Outlook the events fire and everything works fine. We have tried with cached mode on and off.
Any thoughts of why the events are not firing?
Thanks

Answer : Outlook events not firing when using exchange activesync

Hello,

Outlook is just a window into the mailbox on the Exchange server. The ItemAdd and ItemChange events only fire in Outlook when Outlook is used to add or change an item in the mailbox. When the mailbox is modified outside Outlook, those events don't fire. Outlook simply refreshes its view to reflect the current state of the mailbox.

To capture changes as the occure on the server, you would need to write event sinks that are installed on the Exchange server itself.

JJ
Random Solutions  
 
programming4us programming4us