Bug 333526

Summary: Send later agent always sends mail from default identity
Product: [Frameworks and Libraries] Akonadi Reporter: Dominik George <nik>
Component: SendLaterAgentAssignee: Laurent Montel <montel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nik
Priority: NOR    
Version: 1.11.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dominik George 2014-04-17 08:00:10 UTC
Quqeing a mail in the send later agent stores it without any information about the identity used in the editor. This results in all mail being sent from the default identity.

Reproducible: Always

Steps to Reproduce:
1. Create at least one extra identity
2. Enqueue a mail for the send later agent, using the extra identity
3. Look at the sent mail
Actual Results:  
The mail is sent from the default identity

Expected Results:  
The mail should be sent from the extra dientity, the one selected in the editor.

An easy way would be to actually honour the X-KMail-Identity header stored in the mail draft.
Comment 1 Laurent Montel 2014-04-17 10:27:20 UTC
Waou not good. (I can't confirm yet)
I will investigate it.
Comment 2 Dominik George 2014-04-18 08:36:03 UTC
Tracked in Debian at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745123
Comment 3 Laurent Montel 2014-04-18 08:52:40 UTC
I can't reproduce it.
I tested with 3 differents identity and it works fine.
I looked at code and it's ok here too.