Skip to content

Commit

Permalink
Add mappings for work and home email for activesync.
Browse files Browse the repository at this point in the history
As discussed on mailing list, email is now mapped as (Turba -> ActiveSync)

email -> email1address
homeEmail -> email2address
workEmail -> email3address
  • Loading branch information
mrubinsk committed May 4, 2011
1 parent 49e7129 commit f1c16e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions turba/lib/Driver.php
Expand Up @@ -2371,6 +2371,14 @@ public function toASContact(Turba_Object $object)
$message->email1address = Horde_Icalendar_Vcard::getBareEmail($value);
break;

case 'homeEmail':
$message->email2address = Horde_Icalendar_Vcard::getBareEmail($value);
break;

case 'workEmail':
$message->email3address = Horde_Icalendar_Vcard::getBareEmail($value);
break;

case 'title':
$message->jobtitle = $value;
break;
Expand Down

0 comments on commit f1c16e4

Please sign in to comment.