I am trying to log into my Gmail account manually using OpenSSL in my terminal. But for some reason, Gmail doesn't authorize my login even if the password is correct. Here's a rundown of my terminal:
openssl s_client -crlf -connect imap.googlemail.com:993
CONNECTED(00000003)
.......
# Some stuff displayed here
.......
* OK Gimap ready for requests from <my-ip> f75mb26659817ybg
01 login [email protected] password
01 NO [AUTHENTICATIONFAILED] Invalid credentials (Failure)
Why does it fail? Also, I am a beginner with this and am very curious about doing this, therefore a few article suggestions regarding this would be great.
I tried searching for related articles myself but was unable to do so even after pages of searching.