A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Resolving Names



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 2nd 09, 12:57 AM posted to microsoft.public.outlook.program_vba
Craig
external usenet poster
 
Posts: 10
Default Resolving Names

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
  #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



  #3  
Old June 2nd 09, 06:10 PM posted to microsoft.public.outlook.program_vba
Craig
external usenet poster
 
Posts: 10
Default Resolving Names

They are using Exchange 2007. When I run Session.CurrentUser.Type I get "1"
when they run it they also get "1". They are running a Citrix envrionment
would that cause this issue?

If I run this VbScript.
Dim Ol,Ns
Set Ol = CreateObject("Outlook.Application")
Set Ns = Ol.GetNamespace("MAPI")

msgbox (ol.Session.CurrentUser.Name) & chr(13) +
ol.session.CurrentUser.Address

I get this output:
Craig Loidhamer
/o=UMS/ou=First Administartive Group/cn=Recipients/cn=cloidhamer

When I have them run it they get:
Gary K
/o=ZMS1/ou=First Administartive
Group/cn=Recipients/cn=17B4A58C-3E16404B-8625682E-XXXXXX

Thanks again for your help.

Craig

"Ken Slovak - [MVP - Outlook]" wrote in message
...
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





  #4  
Old June 2nd 09, 07:58 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Resolving Names

Something seems screwy about how the Exchange server is configured. I would
expect to see "EX" for any Exchange DN type address, not a "1". And that DN
that's being returned looks like it's a folder or mailbox GUID and not an
Exchange alias. I'd have an admin look at the configuration for Gary K in
ADUC and see what's up.

Citrix I'm not sure about.

--
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
...
They are using Exchange 2007. When I run Session.CurrentUser.Type I get
"1" when they run it they also get "1". They are running a Citrix
envrionment would that cause this issue?

If I run this VbScript.
Dim Ol,Ns
Set Ol = CreateObject("Outlook.Application")
Set Ns = Ol.GetNamespace("MAPI")

msgbox (ol.Session.CurrentUser.Name) & chr(13) +
ol.session.CurrentUser.Address

I get this output:
Craig Loidhamer
/o=UMS/ou=First Administartive Group/cn=Recipients/cn=cloidhamer

When I have them run it they get:
Gary K
/o=ZMS1/ou=First Administartive
Group/cn=Recipients/cn=17B4A58C-3E16404B-8625682E-XXXXXX

Thanks again for your help.

Craig


  #5  
Old June 2nd 09, 10:45 PM posted to microsoft.public.outlook.program_vba
Craig
external usenet poster
 
Posts: 10
Default Resolving Names

After looking at it he saw that all new Exchange Users had the correct
alias, but all the users that were migrated from Exchange 2003 had the IDs.
The Alias field in Exchange has the correct name. Is there something in AD
that might have not been update correctly?

"Ken Slovak - [MVP - Outlook]" wrote in message
...
Something seems screwy about how the Exchange server is configured. I
would expect to see "EX" for any Exchange DN type address, not a "1". And
that DN that's being returned looks like it's a folder or mailbox GUID and
not an Exchange alias. I'd have an admin look at the configuration for
Gary K in ADUC and see what's up.

Citrix I'm not sure about.

--
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
...
They are using Exchange 2007. When I run Session.CurrentUser.Type I get
"1" when they run it they also get "1". They are running a Citrix
envrionment would that cause this issue?

If I run this VbScript.
Dim Ol,Ns
Set Ol = CreateObject("Outlook.Application")
Set Ns = Ol.GetNamespace("MAPI")

msgbox (ol.Session.CurrentUser.Name) & chr(13) +
ol.session.CurrentUser.Address

I get this output:
Craig Loidhamer
/o=UMS/ou=First Administartive Group/cn=Recipients/cn=cloidhamer

When I have them run it they get:
Gary K
/o=ZMS1/ou=First Administartive
Group/cn=Recipients/cn=17B4A58C-3E16404B-8625682E-XXXXXX

Thanks again for your help.

Craig




  #6  
Old June 3rd 09, 12:35 AM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Resolving Names

I'm not an Exchange admin, my guess is a bad migration, but that's just a
guess. I'd post about that in an Exchange admin newsgroup.

--
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
...
After looking at it he saw that all new Exchange Users had the correct
alias, but all the users that were migrated from Exchange 2003 had the
IDs. The Alias field in Exchange has the correct name. Is there something
in AD that might have not been update correctly?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolving MSG file names GP Outlook and VBA 5 September 23rd 08 12:34 AM
Issue with Resolving Names AP[_2_] Outlook and VBA 2 December 18th 07 09:54 PM
resolving distlist Michael[_3_] Add-ins for Outlook 1 September 5th 07 09:36 PM
How to stop fax number showing as address when resolving names Bob Harley Outlook - Using Contacts 1 November 22nd 06 06:08 PM
Re-resolving servers CDGEN Outlook - Installation 0 January 12th 06 02:59 PM


All times are GMT +1. The time now is 08:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.