Bug 82878 - cannot use disconnected-imap folder as drafts-folder
Summary: cannot use disconnected-imap folder as drafts-folder
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: 1.6.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 14:06 UTC by S. Burmeister
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 S. Burmeister 2004-06-05 14:06:37 UTC
Version:           1.6.2 (using KDE KDE 3.2.2)
Installed from:    SuSE RPMs
OS:                Linux

I want to pick a disconnected imap-folder as a drafts-folder, however no matter what name I chose it always returns: folder does not (anymore) exist. I thought this was due to an Umlaut in the folder name but this also happens with non-Umlaut names. The reason why I do not think that it is my imap's fault is because I can chose a disconnected-imap folder as destination for sent messages. I checked all the rights, it's all there.

Cyrus, Kmail 1.6.2, Suse 9.0
Comment 1 Matej Cepl 2004-06-09 00:54:00 UTC
I have similar experience -- I used to have Drafts and Sent folders on DIMAP. Sent works just fine, but when trying to save draft KMail replies, that "There is no drafts folder for the actual identity and therefore default drafts folder will be used." Which is nonsense, because Drafts is very happily sitting in dIMAP account.

Matej
Comment 2 S. Burmeister 2004-07-23 18:04:55 UTC
This is still true for 3.3 beta2. Although kmail's behaviour changed a bit, as it does not state the error message anymore but simple ignores the draft-folder-setting for the identity and saves the message to the local draft folder.
Comment 3 Joerg de la Haye 2004-09-07 21:00:49 UTC
I have the same problem here, but with a normal IMAP account.

I can choose a non-default drafts folder for my identity, but all mails are saved in the local draft folder, I get no error message.
I'm using KDE 3.3 from Debian unstable.
Comment 4 Tom Albers 2004-09-07 21:20:39 UTC
Joerg, could you check the version of KMail? As far as I recall, 1.7 has not made it to unstable yet.
Comment 5 Joerg de la Haye 2004-09-07 21:29:13 UTC
It has.



#dpkg -l kmail

+++-=========================-=========================-==================================================================
ii  kmail                     3.3.0-2                   KDE Email client



The help->about dialogue says KMail 1.7.

Have a look here also:
http://packages.debian.org/unstable/mail/kmail

It's still the one from 3.2.3 for some more or less special hardware like IBM's S390, but the ones with a bigger audience like i386 or PPC have 3.3 (KMail 1.7).
Comment 6 Tom Albers 2004-09-07 21:56:58 UTC
Ok. Then you should be able to save your drafts in an online-imap folder. Did you select the correct identity while composing the message?
Comment 7 Joerg de la Haye 2004-09-07 22:20:37 UTC
I have only one identity.

I've already tried to choose different imap folders as the drafts folder, it didn't work with none of them. But I can't choose a local folder as a drafts folder either. It defaults to the standard one, o matter what I do.
Comment 8 Michael Greifeneder 2004-09-12 19:16:44 UTC
I have the same effect. Kmail (1.7 from KDE 3.3, build from source via konstruct) always stores drafts in the default one whatever I selected in my single identity.

Comment 9 Aimee Pedemonte 2004-09-18 04:37:29 UTC
my problem is along the same lines.  i'm using disconnected imap and my imap account has a "Drafts" folder.  i specify that drafts should go to this imap Drafts folder, but they always go to my local Drafts folder.

i'm using kde-3.3.0 and kmail-1.7.  thanks for the help.
Comment 10 Till Adam 2004-09-18 18:26:57 UTC
CVS commit by tilladam: 

Make it possible to use dimap folders as draft folders. Ah, the joys of
copy and paste. :)

CCMAIL: 82878-done@bugs.kde.org


  M +1 -1      kmcomposewin.cpp   1.862


--- kdepim/kmail/kmcomposewin.cpp  #1.861:1.862
@@ -3075,5 +3075,5 @@ void KMComposeWin::slotContinueDoSend( b
           // This is *NOT* supposed to be "imapDraftsFolder", because a
           // dIMAP folder works like a normal folder
-          draftsFolder = kmkernel->imapFolderMgr()->findIdString( (*it)->drafts() );
+          draftsFolder = kmkernel->dimapFolderMgr()->findIdString( (*it)->drafts() );
         if ( draftsFolder == 0 )
           imapDraftsFolder = kmkernel->imapFolderMgr()->findIdString( (*it)->drafts() );


Comment 11 Al Muckart 2007-03-20 03:43:53 UTC
I just found an interesting twist on this bug. If you have multiple accounts and identities, it kicks in regardless of the identity used to compose the draft email.

I have one cached IMAP account, and one online IMAP account, and two identities (each of which is associated, inasmuch as that is possible in kmail) with one account. I started to compose an email using the identity that was configured to use the online IMAP account for drafts, trash etc, and when I closed the composer window and save the draft I got this error - despite the fact that the configured drafts folder in the identity I was using had NOTHING to do with the cached IMAP account.