Opened 2 years ago

Last modified 5 months ago

#1487858 new Feature Patches

squirrelmail_usercopy multiple-email contact enhancement

Reported by: jcrawfordor Owned by:
Priority: 5 Milestone: later
Component: Plugins Version: 0.5.1
Severity: normal Keywords:
Cc:

Description (last modified by alec)

Background: Squirrelmail allows you to store multiple email addresses with each contact via a comma-seperated list. When you select such a contact, all email addresses are added to the To: field. Multiple-address contacts in squirrelmail thus behave like mailing lists or groups. The squirrelmail_usercopy plugin as of 0.5.1 simply discards all but the first address for such contacts (not at all useful) and in development currently adds all email addresses to one Roundcube contact. The trouble is that Roundcube allows multiple email addresses per contact as a way to store multiple addresses for one person, not as a way to store multiple people as one address, if that makes sense. Squirrelmail's multiple-email functionality is better matched by Roundcube's contact groups, which allow you to easily email multiple people.

The attached patch modifies squirrelmail_usercopy so that, when it encounters a contact having multiple addresses, it creates a separate RC contact for each address, and then places all such contacts in to a group by the name of the squirrelmail contact.

Attachments (1)

squirrelmail_multiple_contacts.diff (1.8 KB) - added by jcrawfordor 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by jcrawfordor

comment:1 Changed 5 months ago by alec

  • Description modified (diff)

I suppose, this is a common case that the same email (contact) is assigned to many groups. So, your patch should be modified to not create duplicated contacts.

Note: See TracTickets for help on using tickets.