[kmail2] [Bug 261559] KMail stopped recognizing KWallet for password for specific SMTP server

Laurent Montel montel at kde.org
Mon Nov 3 07:49:21 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=261559

--- Comment #28 from Laurent Montel <montel at kde.org> ---
We use it to store password in wallet:

void Transport::usrWriteConfig()
{
  if ( requiresAuthentication() && storePassword() && d->passwordDirty ) {
    const QString storePassword = d->password;
    Wallet *wallet = TransportManager::self()->wallet();
    if ( !wallet || wallet->writePassword( QString::number( id() ), d->password
) != 0 ) {

=> the problem can be that we can't write in kwallet or kwallet is never open
by mailtransport.

To know if password is stored in kwallet open:
~/.kde/share/config/mailtransports
=> search group where there is your password

go to kwalletmanager search:
(in mailtransport file we have config group as "[Transport 1816781056]")
=> search "1816781056" (your real number not mine :) )

and you will show if it's stored in kwallet.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list