trap outlook send receive event

Add-in Express™ Support Service
That's what is more important than anything else

trap outlook send receive event
 
Mitesh Khatri




Posts: 29
Joined: 2009-12-10
Hello,

I want to trap the outlook mail send receive event. that event will me occur manually or automatically. i want to trap the both events. so can any one suggest this ?

Thanks
Posted 29 Apr, 2010 13:07:56 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hi Mitesh,

I'm sorry, are you talking about intercepting received and sent Outlook items or about starting the Send/Recieve operation?


Andrei Smolin
Add-in Express Team Leader
Posted 30 Apr, 2010 06:28:57 Top
Mitesh Khatri




Posts: 29
Joined: 2009-12-10
Yes.
i m talking about all mail send receive event.i have trap the send and receive event separately. but i want to know there is any single event the perform both send and receive event.
Posted 30 Apr, 2010 07:50:20 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Mitesh,

You can handle the SyncStart, SyncProgress, SyncError and SyncEnd events of the ADXOutlookAppEvents component.
Posted 30 Apr, 2010 09:30:21 Top
Mitesh Khatri




Posts: 29
Joined: 2009-12-10
Thanks
but i am already trying for this like :-

syncObject(0).stop()

in the sync_Start event. but it throwing error like stop method not found...
so plz suggest....
Posted 02 May, 2010 14:01:40 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hi Mitesh,

That's because the syncobject argument is declared as object. You need to cast it to Outlook.SyncObject.


Andrei Smolin
Add-in Express Team Leader
Posted 03 May, 2010 03:21:32 Top