Bug 402577

Summary: Empty To/Cc field are not reported
Product: [Applications] kmail2 Reporter: Rainer Dorsch <ml>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: montel
Priority: NOR    
Version: 5.9.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 5.11.0
Sentry Crash Report:

Description Rainer Dorsch 2018-12-26 10:43:17 UTC
SUMMARY
I recently get a complaint by a kmail user, that kmail does not send mail even he is pressing the send button. At a first glance looked also weired to me, since simply nothing happened after pressing send.

STEPS TO REPRODUCE
1. Create a message
2. Leave To/Cc/Bcc fields empty
3. Press send

OBSERVED RESULT

Nothing happens at all.

EXPECTED RESULT

A message saying that message cannot be sent if no recipients are specified.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Debian buster, kernel version 3.18
KDE Plasma Version: 5.14.3
KDE Frameworks 5.51.0
Qt 5.11.2 

ADDITIONAL INFORMATION

I think this functionality was present in an earlier version of kmail, but seems to be broken right now.
Comment 1 Laurent Montel 2019-03-21 07:14:19 UTC
I confirm it.
Comment 2 Laurent Montel 2019-03-21 07:51:46 UTC
Git commit 372107d791c7f74900db6e08c6c45d41259140ab by Laurent Montel.
Committed on 21/03/2019 at 07:51.
Pushed by mlaurent into branch 'Applications/19.04'.

Fix Bug 402577 - Empty To/Cc field are not reported

FIXED-IN: 5.11.0

M  +1    -0    src/editor/potentialphishingemail/potentialphishingemailjob.cpp

https://commits.kde.org/kmail/372107d791c7f74900db6e08c6c45d41259140ab