xref: /aosp_15_r20/external/curl/tests/data/test941 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerSMTP
5*6236dae4SAndroid Build Coastguard Worker--crlf
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker</reply>
13*6236dae4SAndroid Build Coastguard Worker
14*6236dae4SAndroid Build Coastguard Worker#
15*6236dae4SAndroid Build Coastguard Worker# Client-side
16*6236dae4SAndroid Build Coastguard Worker<client>
17*6236dae4SAndroid Build Coastguard Worker<server>
18*6236dae4SAndroid Build Coastguard Workersmtp
19*6236dae4SAndroid Build Coastguard Worker</server>
20*6236dae4SAndroid Build Coastguard Worker<name>
21*6236dae4SAndroid Build Coastguard WorkerSMTP with --crlf
22*6236dae4SAndroid Build Coastguard Worker</name>
23*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/upload%TESTNUMBER">
24*6236dae4SAndroid Build Coastguard WorkerFrom: different
25*6236dae4SAndroid Build Coastguard WorkerTo: another
26*6236dae4SAndroid Build Coastguard Worker
27*6236dae4SAndroid Build Coastguard Workeremail
28*6236dae4SAndroid Build Coastguard Workerheaders and body
29*6236dae4SAndroid Build Coastguard Workerwith Unix newlines
30*6236dae4SAndroid Build Coastguard Workermeant to be
31*6236dae4SAndroid Build Coastguard Workerconverted
32*6236dae4SAndroid Build Coastguard Workerwith
33*6236dae4SAndroid Build Coastguard Workerthe
34*6236dae4SAndroid Build Coastguard Worker--crlf option
35*6236dae4SAndroid Build Coastguard Worker%repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789%0a]%
36*6236dae4SAndroid Build Coastguard Worker</file>
37*6236dae4SAndroid Build Coastguard Worker<command>
38*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -T %LOGDIR/upload%TESTNUMBER --crlf
39*6236dae4SAndroid Build Coastguard Worker</command>
40*6236dae4SAndroid Build Coastguard Worker</client>
41*6236dae4SAndroid Build Coastguard Worker
42*6236dae4SAndroid Build Coastguard Worker#
43*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
44*6236dae4SAndroid Build Coastguard Worker<verify>
45*6236dae4SAndroid Build Coastguard Worker<protocol>
46*6236dae4SAndroid Build Coastguard WorkerEHLO %TESTNUMBER
47*6236dae4SAndroid Build Coastguard WorkerMAIL FROM:<[email protected]>
48*6236dae4SAndroid Build Coastguard WorkerRCPT TO:<[email protected]>
49*6236dae4SAndroid Build Coastguard WorkerDATA
50*6236dae4SAndroid Build Coastguard WorkerQUIT
51*6236dae4SAndroid Build Coastguard Worker</protocol>
52*6236dae4SAndroid Build Coastguard Worker<upload>
53*6236dae4SAndroid Build Coastguard WorkerFrom: different
54*6236dae4SAndroid Build Coastguard WorkerTo: another
55*6236dae4SAndroid Build Coastguard Worker
56*6236dae4SAndroid Build Coastguard Workeremail
57*6236dae4SAndroid Build Coastguard Workerheaders and body
58*6236dae4SAndroid Build Coastguard Workerwith Unix newlines
59*6236dae4SAndroid Build Coastguard Workermeant to be
60*6236dae4SAndroid Build Coastguard Workerconverted
61*6236dae4SAndroid Build Coastguard Workerwith
62*6236dae4SAndroid Build Coastguard Workerthe
63*6236dae4SAndroid Build Coastguard Worker--crlf option
64*6236dae4SAndroid Build Coastguard Worker%repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
65*6236dae4SAndroid Build Coastguard Worker%0a]%
66*6236dae4SAndroid Build Coastguard Worker.
67*6236dae4SAndroid Build Coastguard Worker</upload>
68*6236dae4SAndroid Build Coastguard Worker</verify>
69</testcase>
70