Bug 258163 - Message replies are not sent due to "bad" sent-mail folder
Summary: Message replies are not sent due to "bad" sent-mail folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 1.99.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-28 12:38 UTC by Anne Wilson
Modified: 2011-07-29 14:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne Wilson 2010-11-28 12:38:24 UTC
Version:           SVN trunk (KDE 4)
OS:                Linux

Originally I used KMail Configuration to set all identities to use the IMAP server's sent-mail folder.  New messages seem OK, but replies were not going out.  I tried setting the sent-mail folder to "KMail Folders/sent-mail" and that didn't work either.  Finally, I set the sent folder to be displayed on the composer page, and found that it was not showing any sent folder at all.  Selecting the IMAP server's folder there caused it to work correctly.  It looks as though I shall have to manually select the folder for each message.

Reproducible: Always

Steps to Reproduce:
Set a special sent-mail folder using KMail configuration,  Proceed as normally

Actual Results:  
The reply cannot be sent.  If the sent-mail folder is displayed in the composer window it is empty.

Expected Results:  
The specified sent-mail folder should be used.
Comment 1 Anne Wilson 2010-11-29 09:02:29 UTC
I found the cause and the workaround.  While poking around configurations I found a screen that appears to set the default sent-mail and drafts location - unfortunately I can't find it again, so perhaps a dev can specify where that is, for the archives.

Each of these showed that the migration had added a long address string - too long to display and not scrollable, so I can't quote it.  Using the icon beside the address bar to point to the required defaults resulted in ServerName/Sent-mail and ServerName/Drafts.  From this point on, all the settings from Identities Advanced tabs and the folder option 'keep replies in this folder' began to work.

It seems that those settings must override the defaults, and if the default string is badly migrated the application never gets as far as reading them.
Comment 2 John Andersen 2010-12-01 00:04:12 UTC
Similar problems in 4.5.80 (4.6 Beta1).

The location of the sent mail folder is on the Advanced tab when editing Identities rather than on the Account editing window.

This seems wrong headed, as folder structure depend on and is specific to accounts, not identities.  The idea that you might want to run multiple identities out of one mailbox seems obsolete in this age where a new free email account can be set up in 39 seconds flat at any number of email providers.
Comment 3 Anne Wilson 2010-12-01 10:50:30 UTC
You can't make that assumption.  I collect all mail from my own IMAP server, using one account setting, but I use multiple identities according to the destination when sending mail.

The problem I had (and the version is the same as yours) was that the migration appears to have given a corrupt path to the folders.  Putting that right makes everything work again.
Comment 4 John Andersen 2010-12-01 18:58:52 UTC
I just did make the case.  That you can make a corner case to the contrary does not negate the fact that the location of this control is obtuse, and contrary to every other email client out there.

At the very least, hiding this in such an odd place requires the developers to make an easier way to access it from the Account settings screens.  Especially when 99.44% of users use one identity per email account.

This isn't the only thing screwed up by the migration.  It also corrupts Gmail account logins by stripping the @gmail.com portion.  But even when you fix that very few people have managed to send via gmail's secure smtp.
Comment 5 Tobias Koenig 2011-06-04 12:57:40 UTC
Hej,

is this still reproducible with latest version?
As far as I know it had been fixed in the meantime.

Ciao,
Tobias
Comment 6 Anne Wilson 2011-06-04 19:09:06 UTC
i haven't seen it for a long time.  I'm currently using kdepim 4.4.11 and kdepimlibs 4.6.3
Comment 7 Allen Winter 2011-07-29 14:33:25 UTC
closing then, since nobody else has replied in a long time.