Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to gmail pop server by Windows command line

I'm using command line on Windows 7 or Windows Command Processor. I'm trying to connect to gmail pop server (pop.gmail.com) on port 995 because that is what I have seen on other Web sites. I want at least to get an "+OK Hello there" message. This is the command I wrote:

telnet pop.gmail.com 995

I'm not getting any answer. What am I doing wrong?

like image 961
JJDA Avatar asked Feb 17 '23 08:02

JJDA


1 Answers

Port 995 is for SSL connection. You cannot do it with telnet. You could probably try OpenSSL and to test it that way.

openssl s_client -connect pop.gmail.com:995 -quiet

More info on OpenSSL for Windows is here: OpenSSL for Windows

ADDED:

I have just tested with openssl command I gave you above. It works like a charm:

user@localhost$ openssl s_client -connect pop.gmail.com:995 -quiet
depth=1 /C=US/O=Google Inc/CN=Google Internet Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
+OK Gpop ready for requests from 11.11.111.11 v45pf1517914yhk.21
like image 92
PSS Avatar answered Mar 11 '23 16:03

PSS