Thread: Resolving Names
View Single Post
  #2  
Old June 2nd 09, 03:31 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Resolving Names

What type of email address is it? If you use Session.CurrentUser.Type what
does it show?

What type of mail server is this other server. is it Exchange 2007?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Craig" wrote in message
...
Internal to my organization I have been using the Outlook Object model for
a
while. But recemtly I tried one of my Outlook addins on an outside system
and found that resolving names was not working as I have come to expect.
In
the following code I get a very big string with regular dashes like some
kind of system ID after the "recipients/cn=".
XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXX

Both servers are 2007 and clients are 2003.

The below code works fine on my system and I get the username, but not on
the outside system.
Eml = objOutlook.Session.CurrentUser.Address

I am also getting the same issue when I use resolve.

Thanks for shedding any light on this for me.

Craig



Ads