PC MAPI: Bad lpszDateRecieved Value Doesn't Return Error

Last reviewed: October 21, 1994
Article ID: Q86404
The information in this article applies to:
  • Microsoft Mail for Windows, version 3.0

If the lpszDateReceived field of a MapiMessage contains an invalid value and the message is saved with MAPISaveMail, no error message is returned. The message will be saved with a valid date after it has been resolved in the following manner:

  • If the year is invalid, the year is changed to 0.
  • If the month is invalid, the month is changed to 1.
  • If the day is invalid, the day is changed to 1.
  • If the hour is invalid, the hour is changed to 12.
  • If the minute is invalid, the minute is changed to 00.


Additional reference words: 3.00
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: October 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.