Invalid Credentials in Email Automation (IMAP)

I am practicing Email Automation in Lesson 11 of Level 1, Foundation Training but after setting up the IMAP when I run it I get the message below indicating “Invalid Credentials”

image

Now, when I go to my inbox in gmail, I also get a warning message as shown below:

Here is the Properties window:

Please help me if you can.

Need to change account setting of email account and enable login from unrecognized device or Browser.

Hi,
You can overcome this hurdle by enabling the less secure apps option in gmail.
Type less secure apps in google and click the first link and enable it in your mentioned gmail account, :slight_smile:

you can look in security settings of gmail account settings page

@vishal.kp and Atrimal:
Thank you very much guys. It worked like magic. Very well appreciated

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.