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
*** Bug 400320 has been marked as a duplicate of this bug. ***
It occurs when using Exchange account too.
For years... this bug exists for years... nothing changes. God, that's crazy.
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.
(In reply to Samuel Gilbert from comment #4) > Authentication: XOAUTH2 See bug#421664.