Enable Less Secure Apps Gmail Account. In this page click on apps with account access links; Now enable option allow apps that use less secure sign in.
Now turn on allow less secure apps:on toggle button on the new page. Enable the setting and move on to the next section. It should now work properly.
Now turn on allow less secure apps:on toggle button on the new page.
Log into your gmail account. In this page click on apps with account access links; Log into your gmail account. It should now work properly.