We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

POP3 Gmail - Sign in attempt prevented


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

"Login error-ERR [AUTH] Web login required: https://support.google.com/mail/answer/78754"

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?


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.


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