SMTP SMTP AUTH LOGIN RFC4954 # # Server-side AUTH LOGIN REPLY AUTH 334 VXNlcm5hbWU6 REPLY dXNlcg== 334 UGFzc3dvcmQ6 REPLY c2VjcmV0 235 Authenticated # # Client-side smtp SMTP login authentication mail body smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - # # Verify data after the test has been "shot" EHLO 904 AUTH LOGIN dXNlcg== c2VjcmV0 MAIL FROM: RCPT TO: DATA QUIT mail body .