Comment 14 for bug 139433

Revision history for this message
Sebastian Jeworutzki (sjewo) wrote :

I just looked into the source of the kmail configure dialog and it seem, that th entry “TheIMAPResourceAccount” should be written to kmailrc. I'm not a programmer, so ignore if I'm wrong.

Code:
KDE/kdepim/kmail/configuredialog.cpp?revision=712553

void MiscPage::GroupwareTab::save()
{
  KConfigGroup groupware( KMKernel::config(), "Groupware" );

  // Write the groupware config
 [..............]
    // Inbox folder of the selected account
    KMAccount* acct = mAccountCombo->currentAccount();
    if ( acct ) {
      folderId = QString( ".%1.directory/INBOX" ).arg( acct->id() );
      GlobalSettings::self()->setTheIMAPResourceAccount( acct->id() );
    }
  }
[.........]