Bug 482352

Summary: I cannot send emails by gmail
Product: [Applications] kmail2 Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nicolas.fella
Priority: NOR Keywords: qt6
Version First Reported In: Git (master)   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Piotr Mierzwinski 2024-03-04 02:17:08 UTC
SUMMARY
When I try to send any email via my gmail account I get following: message:
"Failed to transport message. SASL(-4): no mechanism available: No worthy mechs found "

Authentication method in my account (IMAP) is “XOAuth”.

And packages which are installed:
$ dpkg -l | grep -i sasl
ii  libauthen-sasl-perl                                      2.1600-1.1                                                    all          Authen::SASL - SASL Authentication framework
ii  libsasl2-2:amd64                                         2.1.27+dfsg2-3ubuntu1.2                                       amd64        Cyrus SASL - authentication abstraction library
ii  libsasl2-modules:amd64                                   2.1.27+dfsg2-3ubuntu1.2                                       amd64        Cyrus SASL - pluggable authentication modules
ii  libsasl2-modules-db:amd64                                2.1.27+dfsg2-3ubuntu1.2                                       amd64        Cyrus SASL - pluggable authentication modules (DB)
ii  libsasl2-modules-kdexoauth2                              23.08.4+p22.04+vunstable+git20240220.1020-0                   all          Dummy transitional

STEPS TO REPRODUCE
1. Start KMail
2. Click  "New"
3. Fill all required fields
4. Click "Send"

OBSERVED RESULT
Reports error like: ""Failed to transport message. SASL(-4): no mechanism available: No worthy mechs found "

EXPECTED RESULT
Possibility to send email

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I use Neon Unstable Edition
I reported issue here, but no reply:
https://discuss.kde.org/t/kmail-receives-emails-but-wont-send-emails/328
Comment 1 sa666666 2024-03-04 15:00:07 UTC
I have exactly the same issue, except I'm using the stable version of Neon (Plasma 6).
Comment 2 Nicolas Fella 2024-03-04 16:29:39 UTC

*** This bug has been marked as a duplicate of bug 481996 ***