Autocomplete: Allow multiple emails in SecondEmail property
Categories
(Thunderbird :: Address Book, enhancement)
Tracking
(Not tracked)
People
(Reporter: john, Assigned: john)
Details
Attachments
(1 file)
|
2.00 KB,
patch
|
mkmelin
:
review-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Steps to reproduce:
This is a proposal (incl. patch) to allow to specify multiple email addresses in "SecondEmail" (a.k.a. Additional Email) and make autocomplete aware of that.
The SecondEmail property of a contact is not used anywhere in Thunderbird except:
- the list view in the address book
- autocomplete
There are no rules regarding that property, the user can enter whatever he wants, for example a list of emails seperated by ", ". If he does that, autocomplete will bring up the entire string.
This patch adds a check, if for a given directory the StringValue "autoComplete.secondEmailSeperator" is set and if so, uses that to split up the results.
It does not change the default behaviour.
I need that for TbSync/DAV to support multiple email addresses (as allowed by the CardDAV standard) without a major rewrite of the address book.
It is not possible to add that feature from the AddOn.
| Assignee | ||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
[:Fallen] Can you assign this to john.bieling@gmx.de? The user info@jobisoft.de is an old unused account of mine (which I totally forgot that it exists). It looks like I am not able to do that on my own.
Updated•7 years ago
|
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
I think this breaks ever using the second email for something. Stuff like
https://searchfox.org/comm-central/rev/b5d1787ddc4335986c283c10b49ce752c79e7cae/mailnews/addrbook/src/nsAbCardProperty.cpp#483
I did not find that beforehand. For me it looked like as there are no rules defined for SecondEmail. So this cannot be merged. I need to find another way to get this done.
Description
•