Bug 263067

Summary: kmail2 beta4: sending E-Mails cannot read passwords out of kwallet
Product: [Applications] kmail2 Reporter: Christian (Fuchs) <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: antonis.tsiapaliokas, arthur
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian (Fuchs) 2011-01-13 21:13:24 UTC
Version:           unspecified (using KDE 4.5.95) 
OS:                Linux

Since updating to kdepim 4.6 beta4, kmail is no longer able to read the password out of kwallet when trying to send Mails (SMTP). 

I tried to add new accounts, each time I try to send an e-mail, I am asked for the password. The checkbox to store the password is checked. 

The passwords are actually stored in kwallet, in the "mailtransports" folder. But I am asked to enter the password anyway when I try to send the next e-mail

Reproducible: Always

Steps to Reproduce:
Add a smtp account, configure it to store the password. 
Send an e-mail, enter the password when asked. 
Password is stored correct and can be viewed via kwalletmanager
Try to send a second e-mail

Actual Results:  
You are again asked for the password

Expected Results:  
Password should be read out of kwallet
Comment 1 Antonis Tsiapaliokas 2011-03-20 22:42:27 UTC
Hello

I am using kmail 2.0.89 on kde 4.6.1 in opensuse 11.3. I cannot reproduce this bug, but i have find out the following behavior when i was trying to reproduce the bug.

1)open kmail
2)sent an email (you will be asked for password)
3)if you don't close the kmail and you sent a new one, then you will not be asked for the password
4)close kmail. And open it again. Now if you try to sent a new email, you will be asked for the password again. 

Is this a bug?
Comment 2 Christian (Fuchs) 2011-04-19 22:01:19 UTC
Fixed in 4.6 Beta 5, it seems. 

Thanks for keeping up the good work, I sure hope that the remaining bugs in kmail2 will be fixed soon. 

Kind regards