1<testcase> 2<info> 3<keywords> 4SMTP 5RFC821 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<servercmd> 13REPLY EHLO 500 Command unrecognized 14</servercmd> 15</reply> 16 17# 18# Client-side 19<client> 20<server> 21smtp 22</server> 23<name> 24RFC821-only SMTP with username and password 25</name> 26<stdin> 27mail body 28</stdin> 29<command> 30smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - 31</command> 32</client> 33 34# 35# Verify data after the test has been "shot" 36<verify> 37<protocol> 38EHLO %TESTNUMBER 39HELO %TESTNUMBER 40MAIL FROM:<sender@example.com> 41RCPT TO:<recipient@example.com> 42DATA 43QUIT 44</protocol> 45<upload> 46mail body 47. 48</upload> 49</verify> 50</testcase> 51