Simple Mail Transfer Protocol (SMTP)
SMTP is an Internet standard communication protocol for electronic mail transmission
Troubleshooting
TLS
Prepare encoded strings for your mail username and password:
bashecho -ne "mail@example.net" | base64
Connect to mail server:
bashopenssl s_client -starttls smtp -connect smtp.example.com:587
Send Extended Hello:
httpEHLO
Authenticate:
httpAUTH LOGIN <your-encoded-username> <your-encoded-password>
If that's successful the mail server should return 235 2.7.0 Authentication successful