Bug 362144

Summary: Not able to add account
Product: [Applications] kmail2 Reporter: abin <abin.gecb>
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: grave    
Priority: NOR    
Version: 4.14.10   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description abin 2016-04-23 14:47:47 UTC
I am not able to add the gmail account using the wizard.
Everytime itried to add the account i am getting the error "The server for account "IMAP Account 3" 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:"
and google will sent a mail stating that " Someone just tried to sign in to your Google Account xxxx.xxxx@gmail.com from an app that doesn't meet modern security standards."

Reproducible: Always

Steps to Reproduce:
1.Open Kmail
2.Add Account using the wizard
3.Give account details

Actual Results:  
The account wizards shows error "The server for account "IMAP Account 3" 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:"

and google will sent a mail stating that " Someone just tried to sign in to your Google Account xxxx.xxxx@gmail.com from an app that doesn't meet modern security standards."

Expected Results:  
Account wizard should complete the account addition process