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

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
 
J

jignesh2680

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
 
D

Dmitry Streblechenko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top