xref: /aosp_15_r20/external/curl/tests/data/test901 (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 CRLF-dot-CRLF in data
21</name>
22<stdin>
23From: different
24To: another
25
26
27.
28.
29
30.
31
32body
33</stdin>
34<command>
35smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T -
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43EHLO %TESTNUMBER
44MAIL FROM:<[email protected]>
45RCPT TO:<[email protected]>
46DATA
47QUIT
48</protocol>
49<upload>
50From: different
51To: another
52
53
54..
55..
56
57..
58
59body
60.
61</upload>
62</verify>
63</testcase>
64