[horde] Activesync - not getting email

Michael J Rubinsky mrubinsk at horde.org
Sun Dec 4 19:33:35 UTC 2011


Quoting Simon Brereton <simon.brereton at buongiorno.com>:

>> And... I made some headway.  I noticed in the log I was getting this:
>> 2011-12-04T12:03:24-05:00 DEBUG: I       <Data>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:FileAs>
>> 2011-12-04T12:03:24-05:00 DEBUG: I         Joe Bloe
>> 2011-12-04T12:03:24-05:00 DEBUG: I        </POOMCONTACTS:FileAs>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:FirstName>
>> 2011-12-04T12:03:24-05:00 DEBUG: I         Joe
>> 2011-12-04T12:03:24-05:00 DEBUG: I        </POOMCONTACTS:FirstName>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:LastName>
>> 2011-12-04T12:03:24-05:00 DEBUG: I         Bloe
>> 2011-12-04T12:03:24-05:00 DEBUG: I        </POOMCONTACTS:LastName>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:Body/>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:HomePhoneNumber>
>> 2011-12-04T12:03:24-05:00 DEBUG: I         555-555-5555
>> 2011-12-04T12:03:24-05:00 DEBUG: I        </POOMCONTACTS:HomePhoneNumber>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:Email2Address>
>> 2011-12-04T12:03:24-05:00 DEBUG: I         dddd at xxxx.com
>> 2011-12-04T12:03:24-05:00 DEBUG: I        </POOMCONTACTS:Email2Address>
>> 2011-12-04T12:03:24-05:00 DEBUG: I        <POOMCONTACTS:Email1Address>
>> 2011-12-04T12:03:24-05:00 DEBUG: I         gggg at yyyy.com
>> 2011-12-04T12:03:24-05:00 DEBUG: I        </POOMCONTACTS:Email1Address>
>> 2011-12-04T12:03:24-05:00 DEBUG: I       </Data>
>>
>> Notice that it has Email2Address.  Aparently, this maps to the EmailHome
> (which is default on the droid).  There is no Email2Address in horde, so it
> gets lost.

This is not entirely true. Horde *does* support a home email address,  
but you need to configure it in your backends file. The way the email  
fields work in Turba is as follows:

Turba can accept either a single "email" field, or both a "home" and  
"work" email address fields. I don't know that Android uses "home" as  
default, as Simon suggested since out of the box, my droid syncs email  
fields perfectly with Turba - using a single "email" address field.  
Perhaps this is vendor specific?

If you want to (or need to) support the "home" email field, you must  
tell Turba to use it. This is done in backends.php (or  
backends.php.local) by editing the field mappings. Note that you  
cannot currently use both 'email' and the home/work email fields.

  When I pushed the '+' on my droid to give the user a second
> email (for work), THAT email address mapped to horde's EmailAddress.

Turba maps the email fields as follows:

email1address => email
email2address => homeEmail
email3address => workEmail

>> So it is syncing at least.  The question now becomes, how do I change the
> mapping?  Since home comes up first on the droid, everyone just uses that
> one, so I'd like to map what my synclog is referring to 'Email2Address'
> (And the droid refers to as 'Home') to my horde address book -- or better
> yet, if horde could store both, that would be ideal (an email address for
> home, and an email address for work).

See above. You need to add the homeEmail/workEmail => database field  
mappings as well as ensure that your database (assuming you are using  
a SQL backend) can accept both email fields.


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org


More information about the horde mailing list