Microsoft KB Archive/107755

From BetaArchive Wiki
Knowledge Base


PC MAPI: MAPIFindNext Not Recognizing MAPISaveMail Message IDs

Article ID: 107755

Article Last Modified on 10/30/2006



APPLIES TO

  • Microsoft Mail Client 3.0
  • Microsoft Mail Client 3.0
  • Microsoft Mail Client 3.2



This article was previously published under Q107755

SUMMARY

The Messaging Application Program Interface (MAPI) MAPIFindNext function may not find a MAPISaveMail ID when the last 24 characters of that message ID contain nonzero values.

MORE INFORMATION

MAPISaveMail saves a message ID with the first 16 characters containing possible nonzero values. The remaining 24 characters always contain zero values. When MAPIFindNext is used to search through messages, it will not find a MAPISaveMail message ID if the last 24 characters of that message ID contain nonzero values. The characters beyond 16 characters contain information MAPI uses to speed up MAPIFindNext calls.

In order to access a message saved with MAPISaveMail, use MAPIReadMail. The first 16 bytes is the only information necessary for MAPIReadMail to open the message.


Additional query words: 3.00 3.00b 3.20

Keywords: KB107755