Re: How long do long term ENTRYIDs last?

From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 09/13/04


Date: Mon, 13 Sep 2004 11:36:28 -0700

If nothing happens to the server, mailbox, parent folder and the message,
the long term entry id will be valid indefinitely.
The entry id can however embed flags that tell the provider how the message
was retrieved, e.g. if you connect to somebody's else mailbox, the entry id
may be different from the one seen by the mailbox owner.
In the Exchange world, the unique id is PR_SOURCE_KEY. Given the values of
PR_SOURCE_KEY for the message and its parent folder, you can always
construct the entry id using IExchangeManageStore::EntryIDFromSourceKey.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Jack Will" <lostupdate@hotmail.com> wrote in message
news:%23czQxKbmEHA.712@TK2MSFTNGP09.phx.gbl...
> I have a program which links to MAPI messages (email, contacts, tasks,
etc.
> from both Exchange and PST providers) and I need a way to open a specific
> message long after the link was created and possibly from a different
> computer. At first glance it appears that long term ENTRYIDs are just what
I
> need. However, I found this little tidbit in the documentation:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/_mapi1book_entry_identifiers.asp
>
> "A long-term entry identifier is assigned by a service provider to an
object
> when an object requires an identifier with a prolonged lifespan. Long-term
> entry identifiers are always valid for weeks or months and can be valid on
> other workstations, depending on the provider. The long-term identifiers
> created by address book providers for custom recipients are universally
> valid."
>
> Weeks or months!? Is it possible for long term ENTRYIDs to go stale after
> weeks or months when using the Exchange and PST providers? If so, is there
> another identifier for a message which has the same lifetime as the
message
> it identifies?
>
> Thanks,
> Jack
>
>



Relevant Pages

  • Re: Changing a mailbox name
    ... When I go to AD Users and Computers I only see the name of the domain, ... display name, but this does not affect the mailbox. ... > editing the current entry.. ...
    (microsoft.public.windows.server.sbs)
  • Re: Change Nickname reference for all users
    ... the entry when presented in the suggested names list (use your arrow key to ... >A user in our Exchange-based organization had problems with her mailbox, we> fixed the problem by deleting her mailbox and creating another which we ... > her old mailbox cached in their *.NK2 nickname file, their messages bounce> when they use this cache. ...
    (microsoft.public.outlook.general)
  • Re: Problem of Pocket access
    ... After sync i didn't know there're any have been changed. ... Well, it is somewhat sketchy, but my guess would be that you didn't give the ... distinguish this entry as a new entry. ... If the entry "re-uses" an existing identifier, chances are that it will be ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: GPRS disconnect after getting mail
    ... I have PPC2002 and the entries are under ... The first entry has nothing under it. ... - Mobile Internet GPRS ... Searching the registry with the name of my Service Providers, ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: New user has X500 adress
    ... entry for X500. ... There are however, X400 and Smtp entries. ... new mailbox is created an X500 address is added to the email address. ... for X500 email generation. ...
    (microsoft.public.exchange.admin)