Registered Member
|
I'm using KMail version 5.5.1, and I've setup my Gmail account. I had enabled IMAP on Gmail settings, and when I login on KMail the token requested by Akonadi states it has the permission to "send" email as well.
I'm able to receive e-mail just fine, but it never succeeds on sending it. I've played around with the settings, even removed and created the account again multiple times, but it always fails. This is the error message I get:
These are the settings of my outbox after KMail creates the account: Outgoing server: smtp.gmail.com Login : my full gmail address Connection : SSL port 465 Authentication: PLAIN Now I did play around with Authentication as well, as the message seemed to suggest that was the issue, but it always fails on the other options. And after researching online it seems that my settings match what other people been using. Could use a little help figuring out the problem. |
Registered Member
|
I had the same problem, it's due to the fact that kmail is considered a less secure app. Solved it by doing this:
- Enable 2 factor authentication in google settings - Generate an app password as stated here: https://support.google.com/mail/answer/185833?hl=en - In Kmail > Settings > Account > Delivery > Double click on Google Mail > Copy the generated app password in password field |
Registered Member
|
|
Registered Member
|
Is there a way to enable it without two factor authentication?
|
Registered Member
|
Thanks! This worked for me. Note that one has to set authentication in kmail to "plain" instead of "gmail". |
Registered Member
|
if you want without activate 2-factor auth. (less secure)
You can access to https://myaccount.google.com/security > Apps with account access > switch "Allow less secure apps:" to ON Basically it's allows google get your plain password as password |
Registered Member
|
I confirmed this works also! |
Registered Member
|
thanks
for me receiving authentication type in kmail : "gmail" sending authentication type in kmail: "plain" works |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]