OL2002: You Receive an NDR When You Use a Simple MAPI Program to Send a Message (319820)
The information in this article applies to:
This article was previously published under Q319820 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
If you use a simple Messaging Application Programming Interface (MAPI) program to send a message to a recipient type other than Microsoft Exchange Server, you may receive a non-delivery report (NDR).
CAUSE
This problem occurs if the Outlook profile that you specified in the simple MAPI program includes multiple e-mail accounts, one of which is an Exchange Server account. In this situation, Outlook 2002 tries to send the message by using the Exchange Server account instead of the correct account.
This problem occurs if the recipient's profile specifies that new messages are delivered to the Exchange Server mailbox. The problem does not occur if the profile specifies that new messages are delivered to a personal folders (.pst) file.
RESOLUTION
To resolve this problem, add a registry key to Outlook 2002 to force an extra internal check that allows external programs to send messages correctly.
How to Force Outlook to Always Check for a Delivery AccountWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk. - Start Registry Editor (Regedt32.exe).
- Locate and then click the following key in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Office\Common\MailSettings - On the Edit menu, click Add Value, and then add the following registry value:
Value name: StrictAccountOrder Data type: DWORD Value data: 1
- Quit Registry Editor.
Note that in this configuration, Outlook 2002 is responsible for spooling the message for delivery. Therefore, if Outlook 2002 is not running when you send the message from the external program, the message is not delivered until you start Outlook 2002.
Modification Type: | Minor | Last Reviewed: | 4/25/2005 |
---|
Keywords: | kbprb KB319820 |
---|
|