This forum has been archived. All content is frozen. Please use KDE Discuss instead.

send emails with Gmail/EWS accounts in Kmail as of 06/2020

Tags: None
(comma "," separated)
fishyql
Registered Member
Posts
2
Karma
0
Hi,

I very recently switched to Kmail from thunderbird and I cannot send any email with my Gmail account and my Exchange server (Office 365) while being able to retrieve all emails normally (with my normal password).
If I authorize less secure apps, I can send emails. So I went to activate the 2FA on my gmail account, supply the app password to Kmail, but I cannot retrieve and send emails in this configuration.
Do you have any tips on making Kmail works properly?
What are your configs for Gmail accounts?

Sorry if this has been posted somewhere, but could not find anything related to this (only sending mails)
Thanks!

KMail
Version 5.14.1 (20.04.0)

Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-53-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15,4 GiB of RAM
fishyql
Registered Member
Posts
2
Karma
0
Ok found it, the settings are :

Google accounts
[General Tab]
Outgoing server : smtp.gmail.com
Server requires authentication : checked
Rest is empty and unchecked

[Advanced Tab]
STARTTLS
port : 587
XOAuth2
Rest is empty and unchecked

EWS, Office 365
[General Tab]
Outgoing server : smtp.office365.com
Server requires authentication : checked
Login : email address
Password : your password 8)

[Advanced Tab]
STARTTLS
port : 587
LOGIN
rest is empty and unchecked
riku
Registered Member
Posts
1
Karma
0
Hi there,
I just ran the same issue, try to make an app password in your gmail security panel (check "save smtp password" in KMail > Settings > Configure kmail > account > send > General)
And set the authentification as PLAIN instead of XOAuth2

And don't forget to set the outgoing account in your gmail identity (settings > Configure kmail > account > identity)


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee