I’m trying to connect to my Gmail account but without success.
The error is: Creating account failed: Could not connect to IMAP host imap.gmail.com:993: Mail server denied authentication.
Note that it’s not a credentials issue because if in the case I enter a wrong password the error message is different: Could not connect to IMAP host imap.gmail.com:993: Authentication failed.
On the Google side IMAP is enabled and I’ve allowed less secure applications. I know that parameter is working because I can now connect Kmail to my Gmail account without any problem (that parameter is mandatory in order to allow Kmail to work with Gmail, which is not the case for Thunderbird for example).
I’m using the classic IMAP settings: imap.gmail.com on port 993 with SSL/TLS.
I’ve tried to set my log level to debug but I didn’t see another message from the mail app.
Anyone has an idea ?
My NC version is 20 and mail app version is 1.7.2.
Yes, I’ve seen it but from what I’ve understood the “app password” is useful for people who have the “2 Factor Auth” enabled on Google side, which is not my case.
Yep, @turman try with app passwords nevertheless. Also you can experiment with less secure apps. Sometimes Google acts a bit unexpected and inconsistent.
But Google says there is a strong relation between app passwords and 2FA:
An App Password is a 16-digit passcode that gives a less secure app or device permission to access your Google Account. App Passwords can only be used with accounts that have [2-Step Verification] turned on.