I can't stop writing the body of email when I connect smtp by using openssl -starttls command. (centos 7)
[root@ip-xxx-xxx-xxx-xxx xxxx]# openssl s_client -starttls smtp -connect smtp.gmail.com:587 CONNECTED(00000003) ~~~SKIP~~~ 250 SMTPUTF8 AUTH PLAIN ~~~SKIP~~~ 235 2.7.0 Accepted MAIL FROM: <~~~SKIP~~~> 250 2.1.0 OK t2sm4646317pgh.89 - gsmtp rcpt to: <~~~SKIP~~~> 250 2.1.5 OK t2sm4646317pgh.89 - gsmtp DATA 354 Go ahead…