[imp] Automatically saving recipients and multiple email addresses in address books

Andras Galos galosa at netinform.hu
Wed Sep 7 15:44:48 UTC 2011


Hi,

I've been using Horde for many years on many servers.
The "Save recipients automatically to the default address book" is 
turned on at Imp's options, Address Books.
Everything worked fine, the recipient was saved in the default address 
book on message send.

Then, Turba's sources configuration has been changed to support multiple 
email addresses for a single contact. The following has been added to 
the end of turba/config/sources.php:

unset($cfgSources['localsql']['map']['email']);
$cfgSources['localsql']['tabs'][_('Communications')] = array('emails', 
'homePhone', 'workPhone', 'cellPhone', 'fax', 'pager');
$cfgSources['localsql']['map']['emails'] = 'object_emails';
$cfgSources['localsql']['search'] = array(
     'name',
     'emails'
);

A database modification has been done accordingly on the turba_objects 
table:
object_email varchar(255) has been renamed to object_emails varchar(2048)

Adding, editing, saving, deleting and using contacts with multiple 
addresses work fine. But, as recently reported, the automatically saving 
recipient addresses on email sending functionality does not work. 
Simply, no contact is saved at all. No error message appears on the site 
or in the horde logs.
If I revert the above config and DB changes, the functionality works 
again, the recipient is saved in the appropriate address book.

Could you please point me what I have missed? What else do I need to do 
when enabling contacts with multiple email addresses to let the 
recipients automatically saved on message send?

Related versions I use:
Horde 3.3.12
Imp H3 4.3.10
Turba H3 2.3.6

Best regards,
Andras Galos


More information about the imp mailing list