Bug 485640

Summary: Kmail sent emails from outbox after crash
Product: [Applications] kmail2 Reporter: Totore <salvatore.c>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version: 6.0.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Totore 2024-04-16 16:50:41 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I was trying to store some emails in the outbox to send them when I feel comfortable, I've to edit some attached files, so i tried to edit by press T on one of them in the outbox folder. Kmail suddenly crashes then when I started it the outbox folder has been sent the emails.
I've checked the option "Send message in outbox folder: Never Automatically"

STEPS TO REPRODUCE
1. Wrote some emails
2. Send later option, so the emails will stay in outbox folder
3. Restart Kmail
4. Edit a mail in the outbox folder
5. Kmail Crashes
6. Start Kmail, the email in outbox folder has been sent

OBSERVED RESULT
The emails in the outbox folder has been sent without a direct command to do it

EXPECTED RESULT
Edit the emails then  send them.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.8.5-arch1-1 (64 bit)
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION