Bug 431229

Summary: Sending message from and to protonmail account causes crash
Product: [Applications] kontact Reporter: roachh <roachh>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version: 5.16.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description roachh@protonmail.com 2021-01-06 14:21:47 UTC
SUMMARY
Sending a message crashes, resulting in a load of 
"org.kde.pim.kmail: Danger, using an event loop, this should no longer be happening!"
errors.
This happens when sending from a protonmail account to a protonmail account. Sending to, e.g. GMail gives "connection refused", and I don't have any other mail accounts to test sending from.

STEPS TO REPRODUCE
1. Send an email from a protonmail account to another protonmmail account

OBSERVED RESULT
Crash, with error:
org.kde.pim.kmail: Danger, using an event loop, this should no longer be happening!
[1]    11591 alarm      kontact

EXPECTED RESULT
Email sends as usual

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.0-pf5
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Turning off encruption also gives a "connection refused" error