telnet smtp.qq.com 25
ehlo USERNAME
auth login
tag_xx VXNlcm5hbWU6 (Username:)
用户名的Base64
tag_xx UGFzc3dvcmQ6(Password:)
密码的Base64
telnet imap.qq.com 143
tag1 login USERNAME@qq.com 密码
tag2 LIST "" "*"
tag3 select INBOX
tag4 fetch xxxx all
openssl s_client -connect imap.qq.com:993 -crlf