Bug 402577 - Empty To/Cc field are not reported
Summary: Empty To/Cc field are not reported
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.9.1
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-26 10:43 UTC by Rainer Dorsch
Modified: 2019-03-21 07:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.11.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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