BUG: MapiSendMail Incorrectly Returns Success Using Outlook FormLast reviewed: September 24, 1997Article ID: Q174215 |
The information in this article applies to:
SYMPTOMSUsing 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.
RESOLUTIONIf 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":
STATUSMicrosoft 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 |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |