Bug 286742

Summary: KMail2 forgets the identity of a mail when sending it failed and it stays in the outbox
Product: [Applications] kmail2 Reporter: Bernhard Jungk <fire>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel, yngve
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Sentry Crash Report:

Description Bernhard Jungk 2011-11-16 00:20:19 UTC
Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

KMail2 forgets the identity a mail was sent with, if the sending has failed. The mail will stay in the outbox as expected, but re-sending it by opening the mail and just click on the send button without changing the identity again will send the mail with the default identity, which is probably not desired.

Reproducible: Always

Steps to Reproduce:
1. Send a mail with a non-default identity
2. Error sending mail occurs, the mail stays in the outbox
3. Re-Send it by opening the mail and click the send button

Actual Results:  
The mail is sent using the default identity instead of the previous setting

Expected Results:  
The mail should be sent with the previously selected identity unless it was changed explicitly
Comment 1 Laurent Montel 2011-11-18 17:16:50 UTC
I confirm it
Comment 2 Yngve Levinsen 2012-07-05 19:51:55 UTC
I can confirm this.
Comment 3 Laurent Montel 2012-07-06 06:21:20 UTC
you confirm in which version ?
Comment 4 Yngve Levinsen 2012-07-06 06:53:49 UTC
Sorry, forgot to add that information.

KDE 4.8.3.
$ uname -a
Linux yngve-chakra 3.4.3-1-CHAKRA #1 SMP PREEMPT Mon Jun 18 17:39:58 UTC 2012 x86_64 GNU/Linux

One thing though, I'm not sure it is actually sent using the default identity. It definitely says it is using the default identity when you are editing the e-mail, but I got the impression that it is using whichever you set before. I'll check next time.
Comment 5 Laurent Montel 2012-07-06 07:39:40 UTC
I fixed this bug in 4.8.5/4.9/master.