Connecting to smtp.gmail.com via command line
Using Linux or OSx, do what Sorin recommended but use port 465 instead. 25 is the generic SMTP port, but not what GMail uses. Also, I don’t believe you want to use -starttls smtp openssl s_client -connect smtp.gmail.com:465 You should get lots of information on the SSL session and the response: 220 mx.google.com … Type … Read more