generate User and Password Hashes
echo -n 'username or password' | openssl base64
openssl s_client -connect mail.example.com:465 -starttls smtp -crlf -ignore_unexpected_eof
EHLO mail.example.com
AUTH LOGIN
<username hash>
<password hash>
MAIL FROM:<info@example.com>
rcpt to:<rcpt@example.com>
DATA
Subject: An intresting subject
Some random Email content
.
QUIT