Bug 385646

Summary: KMail does not send email when To is empty, but does not show error message either
Product: [Applications] kmail2 Reporter: Dennis Schridde <dennis.schridde>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis Schridde 2017-10-12 09:03:24 UTC
When entering nothing into the To field when composing a new email, and then clicking Send, KMail will do nothing.  The email will not be sent (the reasons for which are obvious, I agree), but it will also not display any kind of error message.  This can confuse users.

Version: 5.6.1 (cannot be selected in KDE Bugzilla)
Package-Version: 4:17.08.1-0neon+16.04+xenial+build31
Comment 1 Laurent Montel 2017-10-12 09:23:44 UTC
There is a dialogbox but there is a checkbox in this dialogbox which allows to not display it...
I think that you clicked on it long time ago :)
Comment 2 Dennis Schridde 2017-10-12 09:42:42 UTC
That must have been by accident or it applied to a different situation back the.  (Will that box e.g. be triggered, when selecting a CC but no To?)  Is it possible to reactivate these dialogue boxes?  Would it be possible to entirely replace the dialogue box with something non-intrusive that cannot be (but also does not need to be, because it is non-intrusive) disabled for all future?
Comment 3 Laurent Montel 2017-10-12 10:17:46 UTC
Indeed I need to look at how to make it better.
I will investigate it.
Comment 4 Laurent Montel 2017-10-12 11:58:07 UTC
Git commit edcf606f838db093980d0bd50826278d237198f0 by Montel Laurent.
Committed on 12/10/2017 at 11:57.
Pushed by mlaurent into branch 'master'.

Don't use checkbox in this dialogbox otherwise we can't know why message is not send.

M  +2    -4    src/editor/kmcomposerwin.cpp

https://commits.kde.org/kmail/edcf606f838db093980d0bd50826278d237198f0
Comment 5 Dennis Schridde 2017-11-29 10:12:59 UTC
This is still an issue in KMail 5.6.3 (4:17.08.3-0neon+16.04+xenial+build35).
Comment 6 Laurent Montel 2017-11-29 11:42:24 UTC
Fixed in 5.7.0. Now we don't have checkbox in this dialogbox so we must see the dialogbox.

Regards
Comment 7 Dennis Schridde 2017-11-29 12:45:22 UTC
When will KMail 5.7.0 be available on KDE neon User LTS?
Comment 8 Laurent Montel 2017-11-29 13:49:22 UTC
5.7.0 will release in 2 weeks so I think that it will put on repo after that.