Microsoft KB Archive/174215
Article ID: 174215
Article Last Modified on 3/4/2004
- Simple Messaging Application Programming Interface (MAPI)
This article was previously published under Q174215
Using Simple MAPI under Visual C++, the MapiSendMail function should return MAPI_E_USER_ABORT if the user aborts the Send Mail dialog box by closing or pressing Escape. However, using the standard Outlook Send Mail form, MapiSendMail always returns SUCCESS_SUCCESS.
If you need to get the correct return value from MapiSendMail, you must use the "simplified form" for sending messages. You can do this by setting the "Use simplified form to send from other applications" option in the Send tab of the Exchange options dialog box.
You may also set the following registry key value to "1":
For Windows NT
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\ Current Version\Windows Messaging Subsystem\ Simple MAPI-CMC\SENDNOTEUI
For Windows 95
HKEY_CURRENT_USER\Software\Microsoft\Windows Messaging Subsystem\ Simple MAPI-CMC\SENDNOTEUI
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
Keywords: kbbug kbsmapicmc KB174215