ID: Q174215
The information in this article applies to:
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":
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\
Current Version\Windows Messaging Subsystem\
Simple MAPI-CMC\SENDNOTEUI
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 : SMapiCMC
Version : WINDOWS:0.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: September 25, 1997