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,095
  • 1
  • 20
  • 43

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
  • 7,830
  • 9
  • 54
  • 93
  • I dont want to use less secure apps so I should try another email client. but which one? – Sadegh Feb 02 '16 at 15:04
  • @Woeistg it is safe btw, yes you can try other email clients too. search for 'email clients for linux'. which one is allowed by google, you have find it by trying – Alex Jones Feb 02 '16 at 15:09
  • @Woeistg this answer is the solution for you question, you might wanna try this one out – Alex Jones Feb 02 '16 at 15:12
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
  • 72,494
  • 30
  • 173
  • 237