[kmail2] [Bug 358071] Kmail adds wrong contacts to e-mail when using contact groups

Robert Spillner bugzilla_noreply at kde.org
Wed Apr 22 11:00:06 BST 2020


https://bugs.kde.org/show_bug.cgi?id=358071

--- Comment #4 from Robert Spillner <Robert.Spillner at gmx.de> ---
I dug into this bug a little by myself and found out that in order to resolve
contact group names into mail addresses kmail does a search via akonadi. When
using *spaces* in the contact group names with similar words in both contact
group names this search will have multiple results. So if you have two list,
say

foo bar
foo crowbar,

and you use "foo crowbar" as recipient the akonadi search query will return
"foo bar" and "foo crowbar" since "foo" is in both of them. KMail apparently
chooses the first result of the result list, which is "foo bar".

As a workaround, if you rename your contact lists to
foorbar
foocrowbar

this will not happen. Unfortunately, KMail does not allow "_" in the names. I
guess that there should be a better input validation and masking of the search
word in kmail when quering for a contact group.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list