5

I want to use IMAP to connect Kmail to Gmail. After setting up the account via wizard in kmail, I get this error (I replaced my email address with abc) :

The server for account "Google Mail (abc)" refused the supplied username and password. Do you want to go to the settings, have another attempt at logging in, or do nothing?

Login failed, server replied: A000002 NO Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 ( Failure ) [ ALERT  ]

I am using Ubuntu 14.04.3 LTS with KDE

I followed steps written here.

Sadegh
  • 1,125

2 Answers2

3

Google marks Email clients as less secure way of accessing Gmail. The most secure way would be using latest browser.

All you have to do first login in Google and visit Less secure apps and select Turn ON
After this try to setup Gmail account in Kmail again

Alex Jones
  • 8,192
0

The error is fairly explanatory. You have a login failure, and your so your provided credentials were refused, meaning they may not be accurate.

As well, read up on this help page from Google, which that error message gives you, to see what other troubleshooting options exist.

Thomas Ward
  • 78,878