Bug 334583

Summary: cannot send mail to distribution list
Product: [Applications] kmail2 Reporter: Orion <orion2000za>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: major CC: allyn.tennant, lindsay.mathieson, michael, montel, werner
Priority: NOR    
Version: 4.13   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Orion 2014-05-10 14:38:32 UTC
sending mail to distribution lists fails. Choose a distribution list as recipient and an error message pops up: 

listname@computername: The email address you entered is not valid because it does not contain a '.'. You will not create valid messages if you do not change your address.

The mail can only be sent if you use the "select" button, expand your distribution list, select all recipients and then add them to your composed mail

Reproducible: Always

Steps to Reproduce:
1. compose a mail, choose a distribution list as receiver (using "select", autocompletion impossible)
2. a message pops up: The email address you entered is not valid because it does not contain a '.'. You will not create valid messages if you do not change your address.
3. mail can not be sent to distribution list as intended and in earlier versions
Actual Results:  
as described in step 3 the distribution list does not get added to the recipients of your mail

Expected Results:  
contacts in your selected list gets added as recipients to your mail

Regression from version 4.12.x where this function worked as expected. In fact "baloo" does not seem to find lists, you have to use the "select" button in the composer

See earlier bug set as resolved: 
https://bugs.kde.org/show_bug.cgi?id=223034
Comment 1 werner 2014-05-10 15:07:41 UTC
confirmed, same here - kubuntu 14.04, kde 4.13.0.
Comment 2 Laurent Montel 2014-05-10 16:30:40 UTC
I already worked on baloo friday to try to fix it.
I added new unittest but not fixed yet.
I continue to investigate.
Comment 3 Orion 2014-05-11 06:22:35 UTC
Laurent, thanks for picking this up so fast! Hope you find "the culprit" soon
Comment 4 Orion 2014-07-02 07:06:32 UTC
In Kubuntu 14.04 with 4.13.2 packages this is now working so I will set this to solved :-)
Comment 5 Allyn Tennant 2015-02-11 19:39:54 UTC
This bug is fixed if you install kubuntu-14.04.1-desktop-amd64.iso
and do not upgrade the system.  However, an apt-get upgrade will upgrade
kmail and libkabc4 from 4:4.13.2 to 4:4.13.3 (along with 400 other
packages).  If you create a new distribution list and try to use it,
you will get the original error message of "The email address you
entered is not valid..." Amusingly, distribution lists created with
the original (.2 version) system will continue to work after the
upgrade, so it appears that the problem is now with creating, but not
using, distribution lists.

A work around is to install kubuntu-14.04.1 and then apply
'echo "libkabc4 hold" | dpkg --set-selections' before the
apt-get upgrade.
Comment 6 Michael Barraclough 2017-04-28 07:19:39 UTC
This bug is still present in kubuntu 17.04. IMHO this bug disqualified KMail from being considered as a mail client.