https://bugs.kde.org/show_bug.cgi?id=358071
--- Comment #4 from Robert Spillner <[email protected]> --- 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.
