xref: /aosp_15_r20/external/curl/tests/data/test649 (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 WorkerMULTIPART
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<features>
18*6236dae4SAndroid Build Coastguard WorkerMime
19*6236dae4SAndroid Build Coastguard Worker</features>
20*6236dae4SAndroid Build Coastguard Worker<server>
21*6236dae4SAndroid Build Coastguard Workersmtp
22*6236dae4SAndroid Build Coastguard Worker</server>
23*6236dae4SAndroid Build Coastguard Worker<name>
24*6236dae4SAndroid Build Coastguard WorkerSMTP multipart with 7bit encoder error
25*6236dae4SAndroid Build Coastguard Worker</name>
26*6236dae4SAndroid Build Coastguard Worker<stdin>
27*6236dae4SAndroid Build Coastguard WorkerFrom: different
28*6236dae4SAndroid Build Coastguard WorkerTo: another
29*6236dae4SAndroid Build Coastguard Worker
30*6236dae4SAndroid Build Coastguard Workerbody
31*6236dae4SAndroid Build Coastguard Worker</stdin>
32*6236dae4SAndroid Build Coastguard Worker<command>
33*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -F '=This is valid;encoder=7bit' -F "=@%LOGDIR/test%TESTNUMBER.txt;encoder=7bit" -H "From: different" -H "To: another"
34*6236dae4SAndroid Build Coastguard Worker</command>
35*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/test%TESTNUMBER.txt">
36*6236dae4SAndroid Build Coastguard WorkerThis is an attached file (in french: pièce jointe).
37*6236dae4SAndroid Build Coastguard Worker
38*6236dae4SAndroid Build Coastguard WorkerIt contains at least an 8-bit byte value.
39*6236dae4SAndroid Build Coastguard Worker</file>
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 Worker</protocol>
51*6236dae4SAndroid Build Coastguard Worker<errorcode>
52*6236dae4SAndroid Build Coastguard Worker26
53*6236dae4SAndroid Build Coastguard Worker</errorcode>
54*6236dae4SAndroid Build Coastguard Worker</verify>
55*6236dae4SAndroid Build Coastguard Worker</testcase>
56