Bug 258636

Summary: Irritating error message on invalid sent-mail folder
Product: [Applications] kmail2 Reporter: Marcel <wittemar>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: mikmach, radonek, shlomif
Priority: NOR    
Version: 2.0.90   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marcel 2010-12-03 02:03:45 UTC
Version:           2.0 beta1 (using KDE 4.5.80) 
OS:                Linux

If your are migrating from old kmail, all your identities have invalid folders set. If you try sending a mail you get a message like this:

"There were problems trying to queue the message for sending: Message has invalid sent-mail folder."

This is a bit missleading, as the message has no folders, but the identity. It should be a message like:

"There were problems trying to queue the message for sending: Identity has invalid sent-mail folder."

But the best would be to migrate the folders to the new ones in akonadi ;)

Reproducible: Always

Steps to Reproduce:
1. Migrate from old kmail with special sent-mail folders set
2. Try to send a mail using this identity

Actual Results:  
You get an irrtating error message

Expected Results:  
You should be clearly pointed what is set wrong
Comment 1 Mikolaj Machowski 2011-01-27 20:51:24 UTC
Happened to me also on 4.6 trunk.

Did you solved it by hand - is it possible to send mails with 4.6 at all?
Comment 2 Bent Bisballe Nyeng 2011-06-13 20:49:51 UTC
I solved it by simple opening Settings->Configure KMail...->Indetities and edited my default (only) identity.
The broken folder references (also 'Drafts' and 'Templates') can be correctly set in the 'Advanced' tab of the 'Edit Entry' dialog.
I hope this helps as a workaround.
Comment 3 Shlomi Fish 2011-06-14 12:51:45 UTC
Can confirm here - Mandriva Linux Cooker on x86-32 after upgrading to kdepim-4.6.0
Comment 4 Hynek "rADOn" Fabian 2011-07-21 10:09:22 UTC
same thing happens to the filters, "move to" rules have seemingly random destination folders (even in other accounts!) after migration
Comment 5 Denis Kurz 2016-09-24 18:18:32 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 6 Denis Kurz 2017-01-07 22:24:17 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.