S
Sander Kooij
Hello,
Currently I am working on an outlook add-in for outlook. In this addin
I have to resolve the mobile telephone number of a contact from
Outlook XP. When I try to resolve the mobile telephone number using
the CdoPR_MOBILE_TELEPHONE_NUMBER tag, a blank field is returned. The
problem does not occur when I try to retrieve the mobile address from
a contact in the global address list, It only occurs when I try to get
the address from an outlook contact.
To test if this was an Outlook XP-only problem I tried to run the
addin in combination with Outlook 2003. This works fine.
Has anyone ever had similar problems with using standard fields in
Outlook XP?
Or do I need to use a different tag to retrieve this field when using
Outlook XP?
Here a snippet from my code:
Set sAddressEntry = Utils.GetAddressEntryFromID(sRecipient.EntryID)
MobilePhone = sAddressEntry.Fields(mapi.CdoPR_MOBILE_TELEPHONE_NUMBER)
Thanks in advance,
- Sander Kooij
Currently I am working on an outlook add-in for outlook. In this addin
I have to resolve the mobile telephone number of a contact from
Outlook XP. When I try to resolve the mobile telephone number using
the CdoPR_MOBILE_TELEPHONE_NUMBER tag, a blank field is returned. The
problem does not occur when I try to retrieve the mobile address from
a contact in the global address list, It only occurs when I try to get
the address from an outlook contact.
To test if this was an Outlook XP-only problem I tried to run the
addin in combination with Outlook 2003. This works fine.
Has anyone ever had similar problems with using standard fields in
Outlook XP?
Or do I need to use a different tag to retrieve this field when using
Outlook XP?
Here a snippet from my code:
Set sAddressEntry = Utils.GetAddressEntryFromID(sRecipient.EntryID)
MobilePhone = sAddressEntry.Fields(mapi.CdoPR_MOBILE_TELEPHONE_NUMBER)
Thanks in advance,
- Sander Kooij