import_contacts.py Problems
Posted: Wed Aug 09, 2006 7:35 pm
I am using the import_contacts.py script to load contact records into Scalix. The key part of the csv file that is generated in the import script looks fine and is in the format:
When this record is imported I can see these records in Outlook and at first glance they look correct. But there are problems with the record that make it unusable. And I don't see where the breakdown in the process is coming from.
The problem manifests itself in 2 ways in Outlook 2003:
1) The "Display As" in the contact record shows up as "Firstname Lastname (address@host.domain)". This field is somehow automatically computed and can not be changed directly without messing up the email address field. If this record is used as is to address an email, it is this "Displayed As" string that shows up and when you click send on the email there is an error "The address type is not supported by the service provider." This is probably because of this next symptom.
2) The more telling symptom is that if you double click the email address and open the email address properties dialog the Display name is just as it is above, "Firstname Lastname (address@host.domain)". But the e-mail address and e-mail type fields are empty. If I add the email address and set it to SMTP type then the record works fine.
The questions are: Why does the email address field from the the csv file display ok in the contact edit window, but it doesn't really exist when you look at the email properties dialog? Why is it not being placed in the email field? How do I get the import to put the email in correctly? What is missing in the CSV file?
Code: Select all
Firstname,Lastname,Fullname,,address@host.domain,,,, ....
When this record is imported I can see these records in Outlook and at first glance they look correct. But there are problems with the record that make it unusable. And I don't see where the breakdown in the process is coming from.
The problem manifests itself in 2 ways in Outlook 2003:
1) The "Display As" in the contact record shows up as "Firstname Lastname (address@host.domain)". This field is somehow automatically computed and can not be changed directly without messing up the email address field. If this record is used as is to address an email, it is this "Displayed As" string that shows up and when you click send on the email there is an error "The address type is not supported by the service provider." This is probably because of this next symptom.
2) The more telling symptom is that if you double click the email address and open the email address properties dialog the Display name is just as it is above, "Firstname Lastname (address@host.domain)". But the e-mail address and e-mail type fields are empty. If I add the email address and set it to SMTP type then the record works fine.
The questions are: Why does the email address field from the the csv file display ok in the contact edit window, but it doesn't really exist when you look at the email properties dialog? Why is it not being placed in the email field? How do I get the import to put the email in correctly? What is missing in the CSV file?