PC MAPI: MapiSaveMail Is Inconsistent When Passed NULL

Last reviewed: March 7, 1996
Article ID: Q107757
The information in this article applies to:
  • Microsoft Mail for Windows, versions 3.0, 3.0b and 3.2

SYMPTOMS

In Messaging Application Program Interface (MAPI) from versions 3.0, 3.0b and 3.2 of Microsoft Mail for PC Networks, the MapiSaveMail function is not consistent when passed the NULL value.

If a message in the inbox contains subject and text, you can use MapiFindNext to retrieve the message ID value. You can use MapiSaveMail to change the subject and text, but if you change both to NULL, only the text actually changes; the subject does not.

   MapiMessage[0].pszSubject=/NULL
   MapiMessage[0].pszNoteText=/NULL

The date also does not change when passed the NULL value.

STATUS

Microsoft has confirmed this to be a problem in MAPI from versions 3.0, 3.0b, and 3.2 of Microsoft Mail for PC Networks. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: 3.00 3.00b 3.20
KBCategory: kbprg
KBSubCategory: MailPCMAPI


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 7, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.