SMTP SMTP AUTH LOGIN RFC4954 # # Server-side REPLY EHLO 250 AUTH LOGIN REPLY AUTH 334 LOGIN supported REPLY dGVzdA== 334 UGFzc3dvcmQ6 REPLY MTIzNA== 235 Authenticated # # Client-side smtp SMTP login authentication mail body smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@example.com -u test:1234 -T - # # Verify data after the test has been "shot" EHLO user AUTH LOGIN dGVzdA== MTIzNA== MAIL FROM:<904@example.com> RCPT TO:<904@foo> DATA QUIT mail body .