![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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:" & 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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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:" & 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
|
|||
|
|||
![]()
Thanks i'll try that out
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |