xref: /aosp_15_r20/external/curl/tests/data/test912 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1<testcase>
2<info>
3<keywords>
4SMTP
5SIZE
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13CAPA SIZE
14</servercmd>
15</reply>
16
17#
18# Client-side
19<client>
20<server>
21smtp
22</server>
23<name>
24SMTP with SIZE support
25</name>
26<file name="%LOGDIR/test%TESTNUMBER.eml">
27From: different
28To: another
29
30body
31</file>
32<command>
33smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/test%TESTNUMBER.eml
34</command>
35</client>
36
37#
38# Verify data after the test has been "shot"
39<verify>
40<protocol>
41EHLO %TESTNUMBER
42MAIL FROM:<[email protected]> SIZE=38
43RCPT TO:<[email protected]>
44DATA
45QUIT
46</protocol>
47<upload>
48From: different
49To: another
50
51body
52.
53</upload>
54</verify>
55</testcase>
56