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

Exchange Contact Type is wrong (EX)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 18th 06, 03:01 PM posted to microsoft.public.outlook.program_vba
crazyone
external usenet poster
 
Posts: 4
Default Exchange Contact Type is wrong (EX)

I have made a complete script used to transfer businesses, departments
and contacts from a private contact database into an exchange 2003
server. I'm using ADSI and everything work fine except for the email
type and the email itself.

When i look at my global access list from Outlook 2003 i get an adresse
like this :

- /o=NT5/ou=748134867651354876415/cn=5289756465746516554466 (Fictive
numbers)

And i can also note that the Type of email address is EX.

Looking in several places i found that my emails are saved correctly
when i look at my options, the only thing not working is the email type
that shows EX, it should instead display SMTP i.m.o....

I've been looking for the correct property to set from ADSI, for the
last week on google and groups and forums, to fix this issue ASAP but
could not find anything.

Can anyone help me out.

  #2  
Old September 18th 06, 04:31 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Exchange Contact Type is wrong (EX)

That sounds perfectly normal. If you create contacts in the GAL with ADSI, they should have Exchange EX addresses, used internally, as well as SMTP addresses. Version of Outlook before Outlook 2007 always display the EX address in the Address Book dialog. The SMTP address is visible on the address details dialog.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"crazyone" wrote in message ups.com...
I have made a complete script used to transfer businesses, departments
and contacts from a private contact database into an exchange 2003
server. I'm using ADSI and everything work fine except for the email
type and the email itself.

When i look at my global access list from Outlook 2003 i get an adresse
like this :

- /o=NT5/ou=748134867651354876415/cn=5289756465746516554466 (Fictive
numbers)

And i can also note that the Type of email address is EX.

Looking in several places i found that my emails are saved correctly
when i look at my options, the only thing not working is the email type
that shows EX, it should instead display SMTP i.m.o....

I've been looking for the correct property to set from ADSI, for the
last week on google and groups and forums, to fix this issue ASAP but
could not find anything.

Can anyone help me out.

  #3  
Old September 18th 06, 08:41 PM posted to microsoft.public.outlook.program_vba
crazyone
external usenet poster
 
Posts: 4
Default Exchange Contact Type is wrong (EX)

If i try to send to a local address from my outlook by simply double
clicking the contact in my GAL this is the message i get (Translation
follows to the best of my abilities) :

"Impossible de remettre le message car le système de messagerie du
destinataire est inconnu ou non valide. Vérifiez l'adresse du
destinataire et réessayez d'envoyer le message, ou contactez
l'administrateur système pour qu'il vérifie la connectivité vers le
système de messagerie du destinataire."

"Impossible to deliver message because the destination messaging system
is unknown or invalid. Verify the address and try to send again or
contact the system administrator so he can verify the connectivity with
the destination messaging system."

I checked a bit more the output of my script and i can see in the ADS
that my contacts do have an E-Mail. But when i look in outlook after
adding the contact as à "TO: ", the email is not present in the Email
addresses tab. Here is a part of my script, maybe the attributes are
wrong or i am missing one that is necessary :


'Other naming info
If firstname "" Then OriginalObject.Put "givenName", firstname
If lastname "" Then OriginalObject.Put "sn", lastname
If initials "" Then OriginalObject.Put "initials", initials

If jobtitle "" Then OriginalObject.Put "title", jobtitle
If client "" Then OriginalObject.Put "physicalDeliveryOfficeName",
client
If client "" Then OriginalObject.Put "company", client
If dept "" Then OriginalObject.Put "department", dept

If address "" Then OriginalObject.Put "streetAddress", address
If city "" Then OriginalObject.Put "l", city
If region "" Then OriginalObject.Put "st", region
If postalcode "" Then OriginalObject.Put "postalCode", postalcode
If country "" Then OriginalObject.Put "c", country

'Construct the telephone
If telephone "" And telephoneext "" Then
OriginalObject.Put "telephoneNumber", telephone & " Ext. " &
telephoneext
Elseif telephone "" Then
OriginalObject.Put "telephoneNumber", telephone
End If

'Continue the contact information
If fax "" Then OriginalObject.Put "facsimileTelephoneNumber", fax
If cellular "" Then OriginalObject.Put "mobile", cellular
If pager "" Then OriginalObject.Put "pager", pager
If email "" Then OriginalObject.Put "mail", email
'If email "" Then OriginalObject.Put "proxyAddresses", "smtp:" &
email
If website "" Then OriginalObject.Put "wWWHomePage", website

'Used to categorize the contacts in an ADS query
OriginalObject.Put "extensionAttribute1", 1

'Set the info into the object
OriginalObject.SetInfo

  #4  
Old September 18th 06, 08:59 PM posted to microsoft.public.outlook.program_vba
crazyone
external usenet poster
 
Posts: 4
Default Exchange Contact Type is wrong (EX)

Note:

The proxyAdresses are commented out because they seemed to cause a
problem in mailbox delivery over the weekend. We aren't sure about this
yet though...

  #5  
Old September 18th 06, 08:53 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Exchange Contact Type is wrong (EX)

Probably better to post your script in microsoft.public.exchange.development or an AD group, since they're the ones who are the ADSI experts.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"crazyone" wrote in message ups.com...
If i try to send to a local address from my outlook by simply double
clicking the contact in my GAL this is the message i get (Translation
follows to the best of my abilities) :

"Impossible de remettre le message car le système de messagerie du
destinataire est inconnu ou non valide. Vérifiez l'adresse du
destinataire et réessayez d'envoyer le message, ou contactez
l'administrateur système pour qu'il vérifie la connectivité vers le
système de messagerie du destinataire."

"Impossible to deliver message because the destination messaging system
is unknown or invalid. Verify the address and try to send again or
contact the system administrator so he can verify the connectivity with
the destination messaging system."

I checked a bit more the output of my script and i can see in the ADS
that my contacts do have an E-Mail. But when i look in outlook after
adding the contact as à "TO: ", the email is not present in the Email
addresses tab. Here is a part of my script, maybe the attributes are
wrong or i am missing one that is necessary :


'Other naming info
If firstname "" Then OriginalObject.Put "givenName", firstname
If lastname "" Then OriginalObject.Put "sn", lastname
If initials "" Then OriginalObject.Put "initials", initials

If jobtitle "" Then OriginalObject.Put "title", jobtitle
If client "" Then OriginalObject.Put "physicalDeliveryOfficeName",
client
If client "" Then OriginalObject.Put "company", client
If dept "" Then OriginalObject.Put "department", dept

If address "" Then OriginalObject.Put "streetAddress", address
If city "" Then OriginalObject.Put "l", city
If region "" Then OriginalObject.Put "st", region
If postalcode "" Then OriginalObject.Put "postalCode", postalcode
If country "" Then OriginalObject.Put "c", country

'Construct the telephone
If telephone "" And telephoneext "" Then
OriginalObject.Put "telephoneNumber", telephone & " Ext. " &
telephoneext
Elseif telephone "" Then
OriginalObject.Put "telephoneNumber", telephone
End If

'Continue the contact information
If fax "" Then OriginalObject.Put "facsimileTelephoneNumber", fax
If cellular "" Then OriginalObject.Put "mobile", cellular
If pager "" Then OriginalObject.Put "pager", pager
If email "" Then OriginalObject.Put "mail", email
'If email "" Then OriginalObject.Put "proxyAddresses", "smtp:" &
email
If website "" Then OriginalObject.Put "wWWHomePage", website

'Used to categorize the contacts in an ADS query
OriginalObject.Put "extensionAttribute1", 1

'Set the info into the object
OriginalObject.SetInfo

  #6  
Old September 18th 06, 10:45 PM posted to microsoft.public.outlook.program_vba
crazyone
external usenet poster
 
Posts: 4
Default Exchange Contact Type is wrong (EX)

Thanks i'll try that out

 




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
set up "Out of Office Assistant" type msg if not on Exchange? Sharon Forest Outlook - Installation 3 July 31st 06 02:12 PM
Wrong addresses in Address Book when using Exchange and local doma Alex Outlook - Using Contacts 0 July 27th 06 11:18 AM
Outlook 2007 Beta 2 has wrong format for IPM.Contact Mike Gilbert Outlook - Using Forms 2 June 16th 06 04:36 PM
How do I merge contact fields onto a form-letter-type spreadsheet Dags Outlook - Using Contacts 1 March 15th 06 07:45 AM
Outlook using wrong address from Exchange contact when sending via Rick Voland Outlook - Installation 3 February 24th 06 12:13 AM


All times are GMT +1. The time now is 12:53 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.