[imp] Add User to Adressbook

Christian Mimberg Maumi at gmx.de
Thu Jul 23 10:44:33 UTC 2009


I have defined the following attribute in my turba adressbook.

$attributes['emails'] = array(
    'label' => _("Emails"),
    'type' => 'email',
    'required' => false,
    'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true)

and this map:

'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        '__uid' => 'object_uid',
        'firstname' => 'object_firstname',
        'lastname' => 'object_lastname',
        'birthday' => 'object_bday',
        'photo' => 'object_photo',
        'homeStreet' => 'object_homestreet',
        'homeCity' => 'object_homecity',
        'homePostalCode' => 'object_homepostalcode',
        'emails' => 'object_email',

...
    ),
    'tabs' => array(
        _("Personal") => array('firstname', 'lastname', 'name', 'birthday', 'photo'),
        _("Location") => array('homeStreet', 'homePostalCode', 'homeCity'),
        _("Communications") => array('emails', 'homePhone', 'cellPhone', 'fax', 'workPhone', 'workFax', 'germancellPhone'),
        _("Organization") => array('company', 'workStreet', 'workPostalCode', 'workCity'),
        _("Other") => array('notes'),


if i add a contact by clicking on the icon "Add user to Adressbook" (in a received message) only the name of the contact is insert into the adressbook. The emailadress is not insert.

The Link is:

http://www.mydomain.de/horde/imp/message.php?mailbox=INBOX&index=7064&start=1&message_token=iaoxKj9COkuVQWHTmBofbAc-t_I&actionID=add_address&name=&address=testname78%40testdomain.de

Where is the problem?

Thanx

Christian
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser


More information about the imp mailing list