Bug 264046 - sent mails not deleted from outbox
Summary: sent mails not deleted from outbox
Status: VERIFIED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 10:41 UTC by Achim Herwig
Modified: 2012-10-21 11:10 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Herwig 2011-01-23 10:41:44 UTC
Version:           2.0.89 (using KDE 4.5.95) 
OS:                Linux

When I send mails, the mail is moved to othe outbox and removed after sending. Very often however, the mail reappears after KMail was closed and opened again. The mail is sent correctly though - I checked the mail server log files and it appears in the Sent folder selected (which usually resides on an IMAP resource).

Reproducible: Sometimes

Steps to Reproduce:
Sent Mail via SMTP.
Close Kmail.
Wait.
Reopen KMail.
Look into outbox folder.


Actual Results:  
Sent mail reappears.

Expected Results:  
Sent mail should not appear in outbox any more.

OS: Linux (x86_64) release 2.6.31.14-0.6-desktop
Compiler: gcc
Comment 1 Antonis Tsiapaliokas 2011-04-14 15:15:26 UTC
Hello

I cannot reproduce this bug on opensuse 11.4. My kde environment is the following

Qt: 4.7.1
KDE Development Platform: 4.6.41 (4.7 >= 20110106)
KMail: 2.0.89

Please can you try to reproduce the bug with a newer version of kmail?
Comment 2 Achim Herwig 2011-04-18 14:22:00 UTC
I just checked with my current KMail version. The error is a bit different now:

The outgoing Mail is placed in the outbox. Sending gives back an error stating that the message was sent successfully, but could not be removed from the outbox. And indeed, in the outbox I have all the mails I sent in the last weeks and they cannot be removed.


KMail
Version 2.0.89
Unter KDE 4.6.2 (4.6.2)


> rpm -qi kmail
Name        : kmail                        Relocations: (not relocatable)
Version     : 4.6.40.git.1302464593             Vendor: obs://build.opensuse.org/KDE:Unstable
Release     : 1.1                           Build Date: Mo 11 Apr 2011 19:38:19 CEST
Install Date: So 17 Apr 2011 19:58:51 CEST      Build Host: build32
Group       : Productivity/Networking/Email/Clients   Source RPM: kdepim4-4.6.40.git.1302464593-1.1.src.rpm
Size        : 3737058                          License: LGPLv2.1+
Signature   : DSA/SHA1, Mo 11 Apr 2011 19:47:20 CEST, Key ID 2e85baee9ebd09c4
URL         : http://www.kde.org
Summary     : Mail Client
Description :
KMail is the mail client of KDE.



Authors:
--------
    The KDE Team <kde@kde.org>
Distribution: KDE:Unstable:SC:kdepim46 / KDE_Distro_Factory_openSUSE_11.3
Comment 3 Laurent Montel 2011-07-06 21:32:34 UTC
Works fine here.
Could you retest it please ?
Comment 4 Achim Herwig 2011-07-07 07:13:54 UTC
Not right now. KMail gave me so much headaches (not sending out EMails at all) that I went back to KMail 1.13.7 for now. I might try to run KDE 4.7 RC1 for a few days before I upgrade to openSuSE 11.4 which will be in the next two weeks. If something happens, I'll update the bug report.
Comment 5 krienke 2011-07-14 11:53:56 UTC
Just tried kmail2 in openSuSE 11.4 with kde 4.6.5 from this repos:

http://download.opensuse.org/repositories/KDE:/Release:/46:/kdepim46/KDE_Release_46_openSUSE_11.4/

Experienced the same trouble. After sending an email a successful sending is reported and after restarting kamil2 a day later or so, suddenly already sent mails reappear in the local folder "outbox" but it seems that most of these messages or even all actually have been sent the day before.
Comment 6 András Manţia 2011-12-08 19:54:34 UTC
Can you reproduce with KDE 4.7.4?
Comment 7 Achim Herwig 2011-12-19 19:07:19 UTC
Nope, I upgraded today and KMail2 does not show any folder, though it happily connects and sync my two IMAP resources. As soon as I have solved this new, more severe problem (or filed another bug), I will retest this issue.
Comment 8 Howard Coles Jr 2012-01-13 03:48:17 UTC
I'm having this problem.  Email get sent, but the message remains in the outbox.  There also appears to be other problems as well that may be related, like messages in some folders refuse to stay marked read.  Some refuse to stay marked important, or watch.  

However for the purposes of this my kmail client reports the following versions:
KMail
Version 4.7.4
Using KDE Development Platform 4.7.4 (4.7.4)
Running on Fedora 16, 64bit fully patched as of this morning (2012/Jan/12).
According to "akonadictl --version":  Akonadi 1.6.2
running "yum list "*akonadi*" produces:
PyKDE4-akonadi.x86_64                                  4.7.4-1.fc16                                @updates   
akonadi.x86_64                                         1.6.2-2.fc16.1                              @anaconda-0
kdepimlibs-akonadi.x86_64                              4.7.4-2.fc16                                @updates
Comment 9 Achim Herwig 2012-01-15 15:25:38 UTC
Currently it works for me after I have deleted all akonadi configuration and recreated the IMAP accounts from scratch. KMail 4.7.4 "release 11" on openSuSE 12.1 x86-64.
Comment 10 András Manţia 2012-10-21 10:46:02 UTC
I can't see in KDE 4.9, please reopen if you still run into this problem,
Comment 11 Achim Herwig 2012-10-21 11:10:52 UTC
Works for me as well: KMail 4.9.2 on KDE 4.9.2, openSuSE 12.1 x86-64.