More than 1 email address per contact in Horde

rpvw

Well-Known Member
Jul 18, 2013
1,101
457
113
UK
cPanel Access Level
Root Administrator
Yes, that is irritating, and creates issues trying to sync with other mail applications and devices.

You might like to look at the roundcube address book that allows you to add as many email addresses as you want for each contact.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello,

The following lines exist in the /usr/local/cpanel/base/horde/turba/config/backends.php file:

Code:
        'email' => 'object_email',
       // 'homeEmail' => 'object_homeemail',
       // 'workEmail' => 'object_workemail',
You can enable the additional lines for "home email" and "work email" so that those lines look like this:

Code:
        'email' => 'object_email',
        'homeEmail' => 'object_homeemail',
        'workEmail' => 'object_workemail',
Upon making this change, you can then add three separate email addresses when setting up contacts in Horde. Can you verify if that helps to address the issue? If so, you will need to setup a custom script that runs after each cPanel update to edit those lines, similar to how it's done on the comment from the following feature request:

Add a Tweak Setting when choosing Horde to turn HTML inline on or off

Thank you.
 

Christian-B

Member
Aug 5, 2017
5
1
3
Denmark
cPanel Access Level
Root Administrator
Does this looks correct:
Code:
replace "// 'homeEmail' => 'object_homeemail'," "'homeEmail' => 'object_homeemail'," -- /usr/local/cpanel/base/horde/turba/config/backends.php
replace "// 'workEmail' => 'object_workemail'," "'workEmail' => 'object_workemail'," -- /usr/local/cpanel/base/horde/turba/config/backends.php
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello,

Yes, those entries look correct. I ran them as bash commands manually on a test system and they correctly updated the necessary lines.

Thank you.