PRB: MAPI OCX Controls Fail To Log On To Offline Store (260363)



The information in this article applies to:

  • Simple Messaging Application Programming Interface (MAPI)

This article was previously published under Q260363

SYMPTOMS

Using Simple Messaging Application Programming Interface (MAPI) Controls, when you try log on to a MAPI profile that is configured to work offline, MAPI Controls fail to log on to the offline store. Instead, they automatically dial out and connect to the store on the Microsoft Exchange Server.

This behavior is not what you see when you log on to the same profile using Microsoft Outlook. In that case, Outlook logs on to the offline store. Any mail that is sent sits in the Outbox, because Outlook does not dial out to connect to the Exchange Server mailbox unless you choose Remote Mail from the Tools menu and click Connect.

RESOLUTION

To make sure that you programmatically log on to the offline store instead of the Microsoft Exchange Server itself, you can use the Collaboration Data Objects (CDO) library.

REFERENCES

For additional information on Collboration Data Objects, click the article number below to view the article in the Microsoft Knowledge Base:

173550 HOWTO: Use VC++ to Start a CDO (1.x) Session


Modification Type:MinorLast Reviewed:3/4/2004
Keywords:kbCtrl kbMsg kbprb KB260363