[sync] multiple emails

LALOT Dominique dom.lalot at gmail.com
Thu Jul 16 14:49:58 UTC 2009


2009/7/16 LALOT Dominique <dom.lalot at gmail.com>

> Well,
>
> Sorry for the delay and thanks for the hint. It begins to work and now I
> just begin to understand why I spent days cleaning duplicates.
> The problem went from the email attribute which does not seem to exists in
> the iPhone contact, or from the synthesis point of view. But I tested also
> with funambol and got duplicates.


sorry: on the horde side:

>
> In an entry, if I add workEmail, that entry is synced.
> if I add email, that entry is duplicated
>
> What we need, is to detect that the syncml device is an iPhone and change
> the attribute on the fly . If we have an email attribute, send workEmail
> instead.
> Jan, do you have a better idea?
> I'll try to contact synthesis.


I discovered one source of the problem. On iphone contact, if you choose
display: surname, firstname the data is then badly sent. Horde is taking
firstname as surname and so on! That was the source of duplicates after the
lack of attributes
So it begins to work.

But when I list my sql contact source, I would like to add the columns in
options, I can't select homeEmail or workEmail. Is there something else to
do?

Thanks

Dom



>
>
> Thanks
>
> Dom
>
> 2009/7/16 <lst_hoe02 at kwsoft.de>
>
> 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>>
>>>>> <
>>>>> EMAIL%3BINTERNET%3BHOME%3A345 at free.fr<EMAIL%253BINTERNET%253BHOME%253A345 at free.fr>
>>>>> <EMAIL%253BINTERNET%253BHOME%253A345 at free.fr<EMAIL%25253BINTERNET%25253BHOME%25253A345 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
>>
>>
>>
>> --
>> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
>>
>
>
>
> --
> Dominique LALOT
> Ingénieur Systèmes et Réseaux
> http://annuaire.univmed.fr/showuser.php?uid=lalot
>



-- 
Dominique LALOT
Ingénieur Systèmes et Réseaux
http://annuaire.univmed.fr/showuser.php?uid=lalot


More information about the sync mailing list