Bug 400195 - Some emails stays in outgoing folder
Summary: Some emails stays in outgoing folder
Status: CONFIRMED
Alias: None
Product: kmailtransport
Classification: Applications
Component: general (show other bugs)
Version: git
Platform: Neon Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 400320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-23 11:53 UTC by Tom Kijas
Modified: 2020-06-19 22:45 UTC (History)
4 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 Tom Kijas 2018-10-23 11:53:35 UTC
SUMMARY
KMail is not able to send some emails using properly set-up gmail account

STEPS TO REPRODUCE
1. Add google account, send some emails
2. After some point, it stop to work (emails will stay in Outgoing folder)
3. Reboot, it helps until it breaks again.

OBSERVED RESULT
Some emails stays in Outgoing folder until I reboot.

EXPECTED RESULT
At least to tell me there is some kind of problem, i use KMail in business environment.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14
KDE Frameworks Version: 5.51
Qt Version: 5.11.1
KMail 5.9.2
ADDITIONAL INFORMATION
Comment 1 Christophe Marin 2018-10-26 07:31:16 UTC
*** Bug 400320 has been marked as a duplicate of this bug. ***
Comment 2 Tom Kijas 2018-11-06 12:36:36 UTC
It occurs when using Exchange account too.
Comment 3 Tom Kijas 2019-06-24 09:42:25 UTC
For years... this bug exists for years... nothing changes. God, that's crazy.
Comment 4 Samuel Gilbert 2020-06-19 16:21:01 UTC
I have the same issue with a Gmail account in Kmail 5.14.2(20.04.2) on Linux (x86_64) release 5.7.4-arch1-1

Outgoing mail server: smtp.gmail.com
Encryption: STARTTLS
Port: 587
Authentication: XOAUTH2

Some mails will be sent right away, but after a while, they just sit in the outbox.  It take a long time, but I eventually get a notification informing me that sending has failed: "Failed to transport message.  The remote host closed the connection."

I believe this is a problem with Kmail or the mail transport agent since the mails get sent right away after a reboot.  I tried to kill the akonadi_maildispatcher_agent process, but even if it re-spawns automatically, sending the queued messages doesn't work.
Comment 5 Wolfgang Bauer 2020-06-19 22:45:46 UTC
(In reply to Samuel Gilbert from comment #4)
> Authentication: XOAUTH2
See bug#421664.