xref: /aosp_15_r20/external/curl/tests/data/test940 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1<testcase>
2<info>
3<keywords>
4SMTP
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11</reply>
12
13#
14# Client-side
15<client>
16<server>
17smtp
18</server>
19<name>
20SMTP with username and password but no AUTH capability
21</name>
22<stdin>
23mail body
24</stdin>
25<command>
26smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -u user:secret -T -
27</command>
28</client>
29
30#
31# Verify data after the test has been "shot"
32<verify>
33<protocol>
34EHLO %TESTNUMBER
35MAIL FROM:<[email protected]>
36RCPT TO:<[email protected]>
37DATA
38QUIT
39</protocol>
40<upload>
41mail body
42.
43</upload>
44</verify>
45</testcase>
46