I replied to a message by using the keyboard shortcut for "reply". It opened a window where I could compose my reply. However, the "From" and "Identity" fields were populated with the wrong values (those from a different identity not associated with the folder where the message is). I.e., different From email address and different IMAP account. I didn't notice this before sending, so I have inadvertently divulged information (email address, signature) that I would not have sent otherwise. That's why I am marking this as "Serious". Reproducible: Sometimes Steps to Reproduce: 1. Reply to an email from the folder view. (I use Kontact all the time.) Actual Results: Reply composer opens with the wrong Identity and From address. Expected Results: Reply composer should open with the correct Identity and From address - those that are associated with the account in question. See "Identities" in the configurations. The email addresses are listed there. The copy of the reply message was however saved to the correct IMAP sent folder on the account from which I wanted to send the message. Ie. somehow Kmail2 did still know that the email belongs to that account. However, in the message it wrote the "From" address and signature for the wrong identity.
PS The same problem occurs with using the right-click menus. I think KMail remembers the last used account for sending a message, instead of using the correct account for replying to/sending again/forwarding messages etc. This is not what the words mean to me. If e.g. I "send again" a message, it should be preset to send from the same account. Same with "reply" and "reply all" and "forward".
PS In the KMail settings, I have specified the identities also in the "Accounts" settings - i.e., for both accounts it is not set to "Use the default identity". Instead, for each of the accounts in question, the appropriate Identities are specified in the settings.
Already fixed in 4.8.5/4.9
That's a relief! Thanks!!
Seems to be still there if I click on "resend message" or use any other method (forward, reply) in my "sent" folder within an imap account.
(In reply to comment #5) > Seems to be still there if I click on "resend message" or use any other > method (forward, reply) in my "sent" folder within an imap account. you use which version ?
4.9.2 from Kubuntu 12.10 packages
I think the behaviour that I meant to report when starting this bug was because of bug https://bugs.kde.org/show_bug.cgi?id=299270 - that bug is still present. However, good to know that something else relating to this behaviour has already been fixed (Comment 3 https://bugs.kde.org/show_bug.cgi?id=306034#c3).