POP3 Gmail - Sign in attempt prevented

Hi,

Using POP3 and SSL to connect to Gmail, I get an exception

“Login error-ERR [AUTH] Web login required: Can't sign in to your Google Account - Gmail Help

When looking at the link, it allows us to make “less secure apps” signin to Gmail. When this is enabled it then works.

How can we connect to Gmail without having to make it less secure?

Hi,


Thank you for contacting Aspose support team.

I have checked the available documentation but could not find any information for this. It is server side restriction, and cannot be controlled using client side application. I am afraid, that this cannot be achieved using Aspose.Email.

Ah thanks.

I saw this link regarding IMAP & SMTP using Oauth2, so I will look into this rather than Pop3.
http://www.aspose.com/docs/display/emailnet/Access+SMTP+and+IMAP+Server+using+OAuth

Hi,


Thank you for providing feedback. Please feel free to write us back if you have any other query related to Aspose.Email.