Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to login to Gmail from a "less secure app" without turning on that option?

I am using OpenSSL libs from http://indy.fulgan.com/SSL with Indy POP3, and it works to retrieve emails from Gmail on Android 7, but I must turn on Gmail's "Allow less secure apps" option. Is there a way to be able to login to Gmail without turning on this option?

like image 708
zac Avatar asked Mar 07 '23 12:03

zac


1 Answers

Indy does not (yet) support Gmail's flavor of OAuth authentication over SASL, so without enabling the "less secure apps" option, the only other option available is to go into your Gmail security settings and generate an application-specific password, and then you can use that with Indy's TIdPOP3, TIdSMTP, and TIdIMAP4 components in their respective Password properties.

like image 126
Remy Lebeau Avatar answered Apr 06 '23 13:04

Remy Lebeau