Bug 482352 - I cannot send emails by gmail
Summary: I cannot send emails by gmail
Status: RESOLVED DUPLICATE of bug 481996
Alias: None
Product: kmail2
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git (master)
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-04 02:17 UTC by Piotr Mierzwinski
Modified: 2024-03-04 16:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***