[sync] multiple emails

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Thu Jul 16 08:45:51 UTC 2009


Zitat von LALOT Dominique <dom.lalot at gmail.com>:

> 2009/7/15 Jan Schneider <jan at horde.org>
>
>> Zitat von LALOT Dominique <dom.lalot at gmail.com>:
>>
>>  Hello,
>>>
>>> I got this kind of vard info syncing with funambol and iphone. I notice
>>> that
>>> I was unable to get the email field.
>>>
>>> In fact, that kind of data is sent:
>>> EMAIL;INTERNET:^M
>>> EMAIL;INTERNET;HOME:345 at free.fr <EMAIL%3BINTERNET%3BHOME%3A345 at free.fr> <
>>> EMAIL%3BINTERNET%3BHOME%3A345 at free.fr<EMAIL%253BINTERNET%253BHOME%253A345 at free.fr>
>>> >^M
>>> EMAIL;INTERNET;WORK:^M
>>>
>>> It seems there is a lack of sql attributes to hold that kind of data.
>>>
>>> Should I post for bug or enhacements?
>>>
>>
>> Neither. If you are missing a field in your address book, add it.
>>
>> Jan.
>>
>
> Jan,
>
> Do you mean that if I do that, the email will go directly in that field
> without patching?
> What would be the name of the field according to the vcard data I sent?
> It comes from the native iPhone contacts.

First you should try to add the required fields in Turba. Have a look  
at config/attributes.php for "workEmail" and "homeEmail". Add this  
attributes to the address source you are using and attach them to the  
matching database column. You must add the additional column to your  
database "by hand" of course.

Works fine here with the only grieve that every client uses some other  
schema to decide which address is "work" and which is "home".

Regards

Andreas




More information about the sync mailing list