Summary: | Kmail adds wrong contacts to e-mail when using contact groups | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | of.bis+kde |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | ab.kde, trent2 |
Priority: | NOR | ||
Version: | 5.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
of.bis+kde
2016-01-16 11:33:14 UTC
Confirmed, this is the most annoying of bugs that makes using KMail to manage distribution groups near impossible. You can't send consecutive emails to different groups, as KMail always adds the emails from the first selected group to the second, third and subsequent emails. Is is something to do with the subject line, or message contents, or both, being the same in each email, and KMail thinks you are trying to resend something that has already been sent, despite trying to send it to a different contact group selected from KAddressBook? KMail version 5.3.4 rpm -qa | grep kmail kmail-debuginfo-16.12.3-2.1.mga6 kmail-account-wizard-debuginfo-16.12.3-1.mga6 kmailtransport-16.12.3-1.mga6 kmailtransport-debuginfo-16.12.3-1.mga6 kmail-16.12.3-2.1.mga6 kmail-account-wizard-16.12.3-1.mga6 kmail-handbook-16.12.3-2.1.mga6 lib64kmailprivate5-16.12.3-2.1.mga6 kmailtransport-handbook-16.12.3-1.mga6 rpm -qa | grep kaddress lib64kaddressbookmergelibprivate5-16.12.3-1.mga6 kaddressbook-16.12.3-1.mga6 lib64kaddressbookimportexportlibprivate5-16.12.3-1.mga6 This sucks so badly and is a really major show stopper for really anything that has to do with contact groups. How come that in 4 years and God knows how many releases of kmail this has not been fixed!? We didn't find a developer or contributor yet who is able to investigate this issue. 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. |