Bug 332053

Summary: kmail: sending via gmail without sent folder set returns "item query returns empty result set"
Product: [Applications] kmail2 Reporter: ray-ven <gortab>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: montel
Priority: NOR    
Version: 4.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.12.4

Description ray-ven 2014-03-12 08:11:23 UTC
I've multiple identidies (only in kmail :-D ), I'm using gmail (google).
Google fills the sent folder on it's own, and sent mails cannot be moved to sent folder after sending, so i uncheck "folder for sent mails" in the identities dialog.
Now when sending mail, kmail says it wont send: mail not sent  "item query returns empty result set"
Unfortunately kmail sent the mail, and it is shown in googles sent folder.
This is a fully new userprofile with freshly set up akonadi. Have this problem quite a while now.

Reproducible: Always

Steps to Reproduce:
1. Use gmail
2. uncheck sent mail in identity
3. send mail
Actual Results:  
annoying failure messages

Expected Results:  
mail sent successfully
Comment 1 Laurent Montel 2014-03-13 08:10:46 UTC
Git commit e93ccb7c1a8ebef4d14b140c59e0562f6d672b8a by Montel Laurent.
Committed on 13/03/2014 at 08:10.
Pushed by mlaurent into branch 'KDE/4.12'.

Fix Bug 332053 - kmail: sending via gmail without sent folder set returns "item query returns empty result set

FIXED-IN: 4.12.4

M  +7    -4    agents/maildispatcher/sendjob.cpp

http://commits.kde.org/kdepim-runtime/e93ccb7c1a8ebef4d14b140c59e0562f6d672b8a