xref: /aosp_15_r20/external/curl/tests/data/test939 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
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 [email protected] --mail-from [email protected] -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:<[email protected]>
41RCPT TO:<[email protected]>
42DATA
43QUIT
44</protocol>
45<upload>
46mail body
47.
48</upload>
49</verify>
50</testcase>
51