SMTPsをOpenSSL(telnet)で使う

基本的にこっちとかわりません。

https://hacknote.jp/archives/1455/

openssl s_client -connect {host}:465 -crlf 
ehlo localhost

auth plain なら

AUTH PLAIN {hashed}

auth login なら

AUTH LOGIN
{user_hashed}
{pass_hashed}
MAIL FROM: test@example.com
RCPT TO: test@example.com
DATA
TEST TEST TEST
.