I am currently programming a pop3 email client to learn more about email clients and the RFC... The command: openssl s_client -connect pop.gmail.com:995 would connect to google server and will enable you to retrieve and check email after authentication. How would I do this in Java after initiating a TCP socket connection? A really bad alternative is to spawn a process that runs that command externally
Thanks