PRB: Outlook Express Simple MAPI Implementation of MAPILogon Ignores the Profile Parameters (315503)



The information in this article applies to:

  • Simple Messaging Application Programming Interface (MAPI)
  • Microsoft Outlook Express 6.0 for Windows XP

This article was previously published under Q315503

SYMPTOMS

When Outlook Express is the default mail client, the MAPILogon function ignores the profile name and password parameters.

CAUSE

Because Outlook Express does not use profiles, MAPILogon uses the default identity.

STATUS

This behavior is by design.

MORE INFORMATION

The Outlook Express implementation of Simple MAPI checks if the process is running interactively, obtains a session, and then optionally performs a send and receive operation.

MAPILogon fails with a MAPI_E_FAILURE error if the MAPI_LOGON_UI flag is passed and the process is not running interactively (in other words, if the process is a service).

MAPILogon performs a send and receive operation if the MAPI_FORCE_DOWNLOAD flag is passed.

Modification Type:MinorLast Reviewed:7/15/2004
Keywords:kbMsg kbprb KB315503