Home GnuPG
Diffusion GpgOL c3b6b357bb46

Try to get exchange address from cache first.
c3b6b357bb46Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Try to get exchange address from cache first.

* src/mapihelp.cpp (resolve_ex_from_address): Try cache first.
* src/mymapi.h (MAPI_CACHE_ONLY): Define.

According to MSDN there is a value for MAPI_CACHE_OK which would
basically do what we want. Look in the cache and if it's not cached
look it up from the server. But the value is not documented
and also not in OutlookSpy.

This fixes a hang when the exchange connection is not good.

Details

Provenance
aheineckeAuthored on Dec 18 2015, 6:59 PM
Parents
rO3f21373d698c: Add a way to resolve Exchange Address in MAPI
Branches
Unknown
Tags
Unknown