How to detect Outlook Online / Offline Programatically using MAPI in C++/VC++

  • Thread starter Thread starter jignesh2680
  • Start date Start date
J

jignesh2680

Dear Developer / experts

I am developing application using VC++ 6.0 for sending mail using
Extended MAPI .

I want to detect outlook current status for Online / Offline in Real
time.

Actually i am new to MAPI so please send code snippet if possible .

My outlook is configured with exchange 5.5 .

Thanks in advance ,,

With Regards ,

Jignesh Patel
 
Dear Dmitry ,

I am using Outlook 2002 but on client side it may be Outlook
2000/2002/2003(XP)

If possible kindly let me provide some example of codes ...

Thanks ,

Jignesh
 
Outlook 2002 and below: read the PR_STORE_OFFLINE property from IMsgStore.
Outlook 2003: use the new IMAPIOfflineMgr interface (see MSDN).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top