Re: multiple emails
LALOT Dominique <[email protected]>
| Newsgroups | gmane.comp.horde.sync |
|---|---|
| Message-ID | <[email protected]> |
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. 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 on the fly the attribute. If we have an email attribute, send workEmail instead. Jan, do you have a better idea? I'll try to contact synthesis. Thanks Dom 2009/7/16 <[email protected]> > Zitat von LALOT Dominique <[email protected]>: > > 2009/7/15 Jan Schneider <[email protected]> >> >> Zitat von LALOT Dominique <[email protected]>: >>> >>> 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:[email protected] <EMAIL%3BINTERNET%3BHOME%[email protected]>< >>>> EMAIL%3BINTERNET%3BHOME%[email protected]<EMAIL%253BINTERNET%253BHOME%[email protected]>> >>>> < >>>> EMAIL%3BINTERNET%3BHOME%[email protected]<EMAIL%253BINTERNET%253BHOME%[email protected]> >>>> <EMAIL%253BINTERNET%253BHOME%[email protected]<EMAIL%25253BINTERNET%25253BHOME%[email protected]> >>>> > >>>> >^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: [email protected] > -- Dominique LALOT Ingénieur Systèmes et Réseaux http://annuaire.univmed.fr/showuser.php?uid=lalot -- sync mailing list - Join the hunt: http://horde.org/bounties/#sync Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]