Extended MAPI and Outlook Contacts

  • Thread starter Thread starter simone
  • Start date Start date
S

simone

In the Outlook PAB/Contacts list, reading the contacts generates a
pop-up security message. This can be overcome by using Extended MAPI.
However, the results I get are as follows:
Name=User1 (Business Fax), [email protected]
Name=User2 (Business Fax), [email protected]

The problem is that User1 does not have a property of
PR_BUSINESS_FAX_NUMBER but rather generates the email type format. An
addition user, User3, does not even show up because he does not
possess a fax number, but rather a cellular number.

I note that if we set Outlook to Internet Mode then the contacts are
read as appropriate... i.e.
Name=User1, [email protected], Fax=+234234235,
Cellular=+234234234

Can anyone explain why this is so? How can I force the Internet Mode
type results if the user is a Corporate Mode user? Any other way I can
attack the 'faulty' username and pull out all the relevant properties?
 
To read all contacts and be able to access all properties, you need to work
with the corresponding IPM.Contact messages in the Contacts folder, rather
than going through the IAddrBook interface.

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